|
ZenCart_Documentation
1.5.0
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | debug |
Variables | |
| $pages_to_debug [] = '*' | |
| $debug_logfile_path = DIR_FS_SQL_CACHE . '/myDEBUG-adm-' . time() . '-' . mt_rand(1000,999999) . '.log' | |
| $errors_to_log = (version_compare(PHP_VERSION, 5.3, '>=') ? E_ALL & ~E_DEPRECATED & ~E_NOTICE : version_compare(PHP_VERSION, 5.4, '>=') ? E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT : E_ALL & ~E_NOTICE) | |
| $debug_logfile_path = DIR_FS_SQL_CACHE . '/myDEBUG-adm-' . time() . '-' . mt_rand(1000,999999) . '.log' |
The path where the debug log file will be located Default value is: DIR_FS_SQL_CACHE . '/myDEBUG-999999-00000000.log' ... which puts it in the /cache/ folder: /cache/myDEBUG-999999-00000000.log (where 999999 is a random number, and 00000000 is the server's timestamp)
Definition at line 28 of file enable_error_logging.php.
| $errors_to_log = (version_compare(PHP_VERSION, 5.3, '>=') ? E_ALL & ~E_DEPRECATED & ~E_NOTICE : version_compare(PHP_VERSION, 5.4, '>=') ? E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT : E_ALL & ~E_NOTICE) |
Error reporting level to log Default: E_ALL ^E_NOTICE
Definition at line 34 of file enable_error_logging.php.
| $pages_to_debug[] = '*' |
Specify the pages you wish to enable debugging for (ie: main_page=xxxxxxxx) Using '*' will cause all pages to be enabled
Definition at line 18 of file enable_error_logging.php.