From: Thomas Mudrunka Date: Fri, 9 Dec 2011 19:49:58 +0000 (+0100) Subject: TODO: portability X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=4d62adf95d991a73e4a194b5087623a1c2652418;p=mirrors%2FSokoMan.git TODO: portability --- diff --git a/sklad.conf.php.example b/sklad.conf.php.example index c33ecc0..cf6f46f 100755 --- a/sklad.conf.php.example +++ b/sklad.conf.php.example @@ -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');