Subversion Repositories ALCASAR

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
591 stephane 1
<?php
2
/**
3
* ALCASAR_ADMIN Application define
4
*/
5
 
6
//Global definitions
7
define( 'DS', DIRECTORY_SEPARATOR );
8
//define( 'ALCASAR_ADMIN_PATH_ROOT', 	'/var/www/html/admin' );
9
define( 'ALCASAR_ADMIN_PATH_ROOT', 	'I:\EasyPHP-5.3.2\www\ALCASAR-RSO\admin' );
10
 
11
$parts = explode( DS, ALCASAR_ADMIN_PATH_ROOT );
12
$pos = strrpos($_SERVER["REQUEST_URI"], "/");
13
$uri = substr($_SERVER["REQUEST_URI"],0,$pos);
14
 
15
//Defines for include path
16
define( 'ALCASAR_ADMIN_PATH_INC', 	ALCASAR_ADMIN_PATH_ROOT.'/includes' );
17
define( 'ALCASAR_ADMIN_PATH_LANG', 	ALCASAR_ADMIN_PATH_ROOT.'/lang' );
18
define( 'ALCASAR_ADMIN_PATH_LIB',	ALCASAR_ADMIN_PATH_ROOT.'/lib' );
19
define( 'ALCASAR_ADMIN_PATH_RESSOURCES',	ALCASAR_ADMIN_PATH_ROOT.'/ressources' );
20
 
21
//defines for html absolute path
22
define( 'ALCASAR_ADMIN_PATH_JS', 	$uri.'/js' );
23
define( 'ALCASAR_ADMIN_PATH_CSS', 	$uri.'/css' );
24
define( 'ALCASAR_ADMIN_PATH_IMG', 	$uri.'/images' );
25
 
26
?>