Project

General

Profile

Feature #19503 » 9633-part3-enable-autoload-for-BE.diff

Administrator Admin, 2008-10-25 11:46

View differences:

typo3/init.php (working copy)
require(PATH_t3lib.'config_default.php');
if (!defined ('TYPO3_db')) die ('The configuration file was not included.');
// *********************
// Autoloader
// *********************
require_once(PATH_t3lib . 'class.t3lib_autoload.php');
t3lib_autoload::getInstance()->installAutoloader();
// *********************
// Database
// *********************
require_once(PATH_t3lib.'class.t3lib_db.php'); // The database library
/** @var TYPO3_DB t3lib_db */
$TYPO3_DB = t3lib_div::makeInstance('t3lib_DB');
......
require_once(PATH_t3lib . 'cache/class.t3lib_cache_exception.php');
require_once(PATH_t3lib . 'cache/class.t3lib_cache_factory.php');
require_once(PATH_t3lib . 'cache/class.t3lib_cache_manager.php');
require_once(PATH_t3lib . 'cache/class.t3lib_cache_variablecache.php');
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_classalreadyloaded.php');
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_duplicateidentifier.php');
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invalidbackend.php');
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invalidcache.php');
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invaliddata.php');
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_nosuchcache.php');
$typo3CacheManager = t3lib_div::makeInstance('t3lib_cache_Manager');
$cacheFactoryClass = t3lib_div::makeInstanceClassName('t3lib_cache_Factory');
$typo3CacheFactory = new $cacheFactoryClass($typo3CacheManager);
......
require_once(PATH_t3lib.'class.t3lib_userauth.php');
require_once(PATH_t3lib.'class.t3lib_userauthgroup.php');
require_once(PATH_t3lib.'class.t3lib_beuserauth.php');
require_once(PATH_t3lib.'class.t3lib_iconworks.php');
require_once(PATH_t3lib.'class.t3lib_befunc.php');
require_once(PATH_t3lib.'class.t3lib_cs.php');
......
ob_start();
require_once (PATH_t3lib.'class.gzip_encode.php');
}
?>
?>
(3-3/14)