%PDF- %PDF-
Direktori : /home/devcapijob/public_html/gestion/liberary/ |
Current File : /home/devcapijob/public_html/gestion/liberary/defines.php |
<?php //protection contre accée direct defined('PATH_BASE') or die( 'Restricted access' ); //echo dirname($_SERVER['DOCUMENT_ROOT']).'public_html/'; $url=S_config::$root ; define('HOST', $_SERVER['HTTP_HOST'].'/' ); define('HOST_RS', 'https://fichier.capijobnew.com/' ); define('URL_IMG', 'https://capijobnew.com/' ); define('DIR_BASE', str_replace('/gestion','',$url) ); define('ROOT_FILE', dirname($_SERVER['DOCUMENT_ROOT']).'/public_html/'); define('FILE_CACHE', $_SERVER['DOCUMENT_ROOT']); define('ROOT_BASE', 'https://'.$_SERVER['HTTP_HOST'].'/'.DIR_BASE ); define('URL_BASE', 'https://'.$_SERVER['HTTP_HOST'].'/'.DIR_BASE.'gestion/'); define('TEMPLATE', PATH_BASE .DS.'Templates'.DS.'index.html' ); define('LOGIN', PATH_BASE .DS.'Templates'.DS.'login.html' ); define ('FRAMWORK', PATH_BASE .DS.'liberary'.DS.'framework.php' ); define ('FACTORY', PATH_BASE .DS.'liberary'.DS.'factory.php' ); define ('DB', PATH_BASE .DS.'liberary'.DS.'db.php' ); define ('REQUEST', PATH_BASE .DS.'liberary'.DS.'request.php' ); define ('CONTENU', PATH_BASE .DS.'liberary'.DS.'contenu.php' ); define ('MSG', PATH_BASE .DS.'liberary'.DS.'msg.php' ); define ('LANG_PATH', PATH_BASE .DS.'language'.DS ); define ('CMP', PATH_BASE .DS.'composants'.DS ); define ('MDP', PATH_BASE .DS.'modules'.DS ); define ('STP', PATH_BASE .DS.'liberary'.DS.'stp.inc'); ?>