Line 12... |
Line 12... |
12 |
$pos = strrpos($_SERVER["REQUEST_URI"], "/");
|
12 |
$pos = strrpos($_SERVER["REQUEST_URI"], "/");
|
13 |
$uri = substr($_SERVER["REQUEST_URI"],0,$pos);
|
13 |
$uri = substr($_SERVER["REQUEST_URI"],0,$pos);
|
14 |
|
14 |
|
15 |
//Defines for include path
|
15 |
//Defines for include path
|
16 |
define( 'ALCASAR_ADMIN_PATH_INC', ALCASAR_ADMIN_PATH_ROOT.'/includes' );
|
16 |
define( 'ALCASAR_ADMIN_PATH_INC', ALCASAR_ADMIN_PATH_ROOT.'/includes' );
|
17 |
define( 'ALCASAR_ADMIN_PATH_LANG', ALCASAR_ADMIN_PATH_ROOT.'/lang' );
|
17 |
define( 'ALCASAR_ADMIN_PATH_LANG', ALCASAR_ADMIN_PATH_ROOT.'/languages' );
|
18 |
define( 'ALCASAR_ADMIN_PATH_LIB', ALCASAR_ADMIN_PATH_ROOT.'/lib' );
|
18 |
define( 'ALCASAR_ADMIN_PATH_LIB', ALCASAR_ADMIN_PATH_ROOT.'/lib' );
|
19 |
define( 'ALCASAR_ADMIN_PATH_RESSOURCES', ALCASAR_ADMIN_PATH_ROOT.'/ressources' );
|
19 |
define( 'ALCASAR_ADMIN_PATH_RESSOURCES', ALCASAR_ADMIN_PATH_ROOT.'/ressources' );
|
20 |
|
20 |
|
21 |
//defines for html absolute path
|
21 |
//defines for html absolute path
|
22 |
define( 'ALCASAR_ADMIN_PATH_JS', $uri.'/js' );
|
22 |
define( 'ALCASAR_ADMIN_PATH_JS', $uri.'/js' );
|