TODO: portability
authorThomas Mudrunka <tomas@mudrunka.cz>
Fri, 9 Dec 2011 19:49:58 +0000 (20:49 +0100)
committerThomas Mudrunka <tomas@mudrunka.cz>
Fri, 9 Dec 2011 19:49:58 +0000 (20:49 +0100)
sklad.conf.php.example

index c33ecc03743e31d90cfbdedf56e0347e8c5a6ca6..cf6f46f4df26d1480ba79d736756c5855ddb462d 100755 (executable)
@@ -14,7 +14,7 @@ define('DIR_TEMPLATES',               DIR_HOME.'/templates');
 define('DIR_APIS',             DIR_HOME.'/apis');
 define('DIR_ASSISTANTS',       DIR_HOME.'/assistants');
 
-define('URL_HOME',             dirname($_SERVER['SCRIPT_NAME']));
+define('URL_HOME',             dirname($_SERVER['SCRIPT_NAME'])); //TODO: use request_uri with path_info stripped for portability
 define('URL_IMAGES',           URL_HOME.'/images');
 define('URL_BARCODES',         URL_HOME.'/barcodes');
 
This page took 0.121137 seconds and 4 git commands to generate.