$Url = array(); $Path = array(); $Site = array(); require_once('config.inc.php'); // ~~~ Paths & URLs ~~~ $Path['root'] = ''; while(!is_dir($Path['root'] . 'core')) $Path['root'] .= '../'; if($Path['root'] == '') $Path['root'] = './'; $Path['self'] = basename($_SERVER['PHP_SELF']); $Path['js'] = $Path['root'] . 'js/'; $Path['tmp'] = $Path['root'] . 'tmp/'; $Path['tpl'] = $Path['root'] . 'tpl/'; $Path['core'] = $Path['root'] . 'core/'; $Path['lib'] = $Path['core'] . 'lib/'; $Path['img'] = $Path['root'] . 'img/'; // $Url['root'] = set in config.inc.php $Url['img'] = $Url['root'] . 'img/'; // import menu require_once('menu.inc.php'); ?>
Latest news: