Rev 610 | Blame | Last modification | View Log
<?php
/**
* ALCASAR_ADMIN Application define
*/
//Global definitions
define('ALCASAR_SESSION', 1);
define( 'DS', DIRECTORY_SEPARATOR );
define( 'ALCASAR_ADMIN_PATH_ROOT', '/var/www/html/admin' );
$parts = explode( DS, ALCASAR_ADMIN_PATH_ROOT );
$pos = strrpos($_SERVER["REQUEST_URI"], "/");
$uri = substr($_SERVER["REQUEST_URI"],0,$pos);
//Defines for include path
define( 'ALCASAR_ADMIN_PATH_INC', ALCASAR_ADMIN_PATH_ROOT.'/includes' );
define( 'ALCASAR_ADMIN_PATH_LANG', ALCASAR_ADMIN_PATH_ROOT.'/languages' );
define( 'ALCASAR_ADMIN_PATH_LIB', ALCASAR_ADMIN_PATH_ROOT.'/lib' );
define( 'ALCASAR_ADMIN_PATH_RESSOURCES', ALCASAR_ADMIN_PATH_ROOT.'/ressources' );
//Defines for html absolute path
define( 'ALCASAR_ADMIN_PATH_JS', $uri.'/js' );
define( 'ALCASAR_ADMIN_PATH_CSS', $uri.'/css' );
define( 'ALCASAR_ADMIN_PATH_IMG', $uri.'/images' );
define( 'ALCASAR_ADMIN_PATH_RS', $uri.'/ressources' );
//Configuration files
//define( 'ALCASAR_CONF_FILE', '/usr/local/setc/alcasar.conf');
//define( 'ALCASAR_CONF_FILE', ALCASAR_ADMIN_PATH_INC.'alcasar.conf');
?>
Generated by GNU Enscript 1.6.6.