| 3 | |
| 4 | == == |
| 5 | |
| 6 | {{{ |
| 7 | // poniższy kod zakłada że skrypt znajduje się w apps/edokumenty/scripts/ |
| 8 | // aktualym foderem musi być zawsze apps/edokumenty/ |
| 9 | chdir(dirname(__FILE__).'/../'); |
| 10 | require_once('./../../framework/lib/util/Translator/Translator.inc'); |
| 11 | |
| 12 | include('./config.inc'); |
| 13 | |
| 14 | error_reporting(ERROR_REPORTING); |
| 15 | |
| 16 | define('SCRIPT_PATH', ''); |
| 17 | define('ASYNC_SERVICE', false); |
| 18 | |
| 19 | include('../../framework/globalVar.inc'); |
| 20 | include_once(LIB_PATH.'system/SysContext.inc'); |
| 21 | |
| 22 | include('./localVar.inc'); |
| 23 | include(LIB_PATH.'util/Debug.inc'); |
| 24 | include(LIB_PATH.'system/Request.inc'); |
| 25 | include_once(LIB_PATH.'system/UserRights.inc'); |
| 26 | include(LIB_PATH.'system/CookieSysReg.inc'); |
| 27 | include(LIB_PATH.'system/Application.inc'); |
| 28 | require_once(LIB_PATH.'system/VarPathService.inc'); |
| 29 | }}} |
| 30 | |