Project

General

Profile

Bug #21143 » 12066-basic.diff

Administrator Admin, 2010-02-21 16:09

View differences:

t3lib/t3lib_constants.php (revision 0)
<?php
/***************************************************************
* Copyright notice
*
* (c) 2010 Oliver Klee <typo3-coding@oliverklee.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software); you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation); either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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 General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
// a tabulator
define('TAB', chr(9));
// a linefeed
define('LF', chr(10));
// a carriage return
define('CR', chr(13));
// a CR-LF combination
define('CRLF', CR . LF);
// one hour in seconds
define('ONE_HOUR', 3600);
// one day in seconds
define('ONE_DAY', 86400);
// one week in seconds
define('ONE_WEEK', 604800);
?>
typo3/init.php (working copy)
}
}
require_once(PATH_t3lib . 't3lib_constants.php');
// *************************************************
// t3lib_div + extention management class included
typo3/sysext/cms/tslib/index_ts.php (working copy)
// *********************
ob_start();
require_once(PATH_t3lib . 't3lib_constants.php');
// *********************
// Timetracking started
// *********************
(4-4/11)