Project

General

Profile

Bug #23611 » 15807_v1.diff

Administrator Admin, 2010-10-10 20:20

View differences:

t3lib/thumbs.php (Arbeitskopie)
if(!defined('PATH_site')) define('PATH_site', preg_replace('/[^\/]*.[^\/]*$/','',PATH_thisScript)); // the path to the website folder (see init.php)
if(!defined('PATH_t3lib')) define('PATH_t3lib', PATH_site.'t3lib/');
if(!defined('PATH_tslib')) {
define('PATH_tslib', PATH_site . 'typo3/sysext/cms/tslib/');
}
define('PATH_typo3conf', PATH_site.'typo3conf/');
define('TYPO3_mainDir', 'typo3/'); // This is the directory of the backend administration for the sites of this TYPO3 installation.
define('PATH_typo3', PATH_site.TYPO3_mainDir);
typo3/thumbs.php (Arbeitskopie)
define('PATH_site', substr(dirname(PATH_thisScript).'/',0,-strlen('typo3/'))); // Abs. path to directory with the frontend (one above the admin-dir)
define('PATH_t3lib', PATH_site.'t3lib/');
define('PATH_tslib', PATH_site . 'typo3/sysext/cms/tslib/');
// ******************
(2-2/2)