View file includes/const.php
<? /** * Константы */ define('STARTTIME', microtime(1)); define('MODULE_DEFAULT', $config['module_default']); define('DATADIR', ROOT . 'local/'); define('SITETIME', time()+1); define('URL', $config['url']); define('FILE_EX', $config['file_ex']); define('CURRENT_THEM', $config['themes']); define('N', PHP_EOL); define('TIMG_PATH', URL .'themes/'. CURRENT_THEM .'/images/'); define('USER_IP', $_SERVER['REMOTE_ADDR']); ?>