Es läuft PHP Version 5.3.18-nmm1.
Vor dem Update lief alles einwandfrei.
Ich tippe auch auf die config.php
Die wird von metamodels ja aktualisiert:
NEU:
PHP-Code:
<?php
/**
* htaccess Generator
* Copyright (C) 2011 Tristan Lins
*
* Extension for:
* Contao Open Source CMS
* Copyright (C) 2005-2011 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright InfinitySoft 2011
* @author Tristan Lins <tristan.lins@infinitysoft.de>
* @package MetaPalettes
* @license LGPL
* @filesource
*/
/**
* Hooks
*/
$GLOBALS['TL_HOOKS']['loadDataContainer'][] = ['Bit3\Contao\MetaPalettes\MetaPalettes', 'generatePalettes'];
$GLOBALS['TL_EVENTS']['dc-general.factory.build-data-definition'][] = [
'Bit3\Contao\MetaPalettes\MetaPalettesBuilder::process',
200
];
/**
* Backwards compatibility
*/
class_alias('Bit3\Contao\MetaPalettes\MetaPalettes', 'MetaPalettes');
class_alias('Bit3\Contao\MetaPalettes\MetaPalettesBuilder', 'MetaPalettesBuilder');
ALT:
PHP-Code:
<?php
/**
* htaccess Generator
* Copyright (C) 2011 Tristan Lins
*
* Extension for:
* Contao Open Source CMS
* Copyright (C) 2005-2011 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright InfinitySoft 2011
* @author Tristan Lins <tristan.lins@infinitysoft.de>
* @package MetaPalettes
* @license LGPL
* @filesource
*/
/**
* Hooks
*/
$GLOBALS['TL_HOOKS']['loadDataContainer'][] = array('MetaPalettes', 'generatePalettes');
if (version_compare(VERSION, '3', '<')) {
spl_autoload_unregister('__autoload');
require_once(TL_ROOT . '/system/modules/metapalettes/classes/vendor/autoload.php');
spl_autoload_register('__autoload');
$classes = array('MetaPalettes');
$cache = FileCache::getInstance('classes');
foreach ($classes as $class) {
if (!$cache->$class) {
$cache->$class = true;
}
}
}
Lesezeichen