X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=sklad.conf.php.example;h=cf6f46f4df26d1480ba79d736756c5855ddb462d;hb=3ac53ce3eebd88cad463896f47e2ad46d3e010e8;hp=52ae347dd21d8b77ea6722073aeeda73499d44b6;hpb=a5094502005a6f99b8e4533e4107490868500411;p=mirrors%2FSokoMan.git diff --git a/sklad.conf.php.example b/sklad.conf.php.example index 52ae347..cf6f46f 100755 --- a/sklad.conf.php.example +++ b/sklad.conf.php.example @@ -11,9 +11,10 @@ define('DIR_IMAGES', DIR_HOME.'/images'); define('DIR_LOCALE', DIR_HOME.'/locale'); define('DIR_BARCODES', DIR_HOME.'/barcodes'); 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');