|
ZenCart_Documentation
1.5.0
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | admin |
Enumerations | |
| enum | DEBUG_AUTOLOAD |
| enum | IS_ADMIN_FLAG |
| enum | PAGE_PARSE_START_TIME |
| enum | DIR_WS_TEMPLATES |
Variables | |
| if (version_compare(PHP_VERSION, 5.4, '<')&&@ini_get('magic_quotes_sybase')!=0)@ini_set('magic_quotes_sybase' | |
| if(file_exists('includes/local/configure.php')) if(file_exists('includes/configure.php')) if(!defined('DIR_FS_CATALOG')||!is_dir(DIR_FS_CATALOG.'/includes/classes')||!defined('DB_TYPE')||DB_TYPE== '') if(file_exists(DIR_FS_ADMIN. 'includes/local/skip_version_check.ini')) if($za_dir=@dir(DIR_WS_INCLUDES. 'extra_configures')) | $template_dir = '' |
| $autoLoadConfig = array() | |
| enum DEBUG_AUTOLOAD |
boolean if true the autoloader scripts will be parsed and their output shown. For debugging purposes only.
Definition at line 20 of file application_top.php.
| enum DIR_WS_TEMPLATES |
Definition at line 131 of file application_top.php.
| enum IS_ADMIN_FLAG |
boolean used to see if we are in the admin script, obviously set to false here. DO NOT REMOVE THE define BELOW. WILL BREAK ADMIN
Definition at line 25 of file application_top.php.
integer saves the time at which the script started.
Definition at line 30 of file application_top.php.
| $autoLoadConfig = array() |
Definition at line 136 of file application_top.php.
| if (file_exists('includes/local/configure.php')) if (file_exists('includes/configure.php')) if (!defined('DIR_FS_CATALOG')||!is_dir(DIR_FS_CATALOG.'/includes/classes')||!defined('DB_TYPE')||DB_TYPE== '') if (file_exists(DIR_FS_ADMIN. 'includes/local/skip_version_check.ini')) if ($za_dir=@dir(DIR_WS_INCLUDES. 'extra_configures')) $template_dir = '' |
Set the local configuration parameters - mainly for developers check for and load application configuration parameters ignore version-check if INI file setting has been set include the list of extra configure files init some vars
Definition at line 130 of file application_top.php.
| if(version_compare(PHP_VERSION, 5.4, '<')&&@ini_get('magic_quotes_sybase')!=0)@ini_set('magic_quotes_sybase' |
set the level of error reporting
Note STRICT_ERROR_REPORTING should never be set to true on a production site.
It is mainly there to show php warnings during testing/bug fixing phases.
note for strict error reporting we also turn on show_errors as this may be disabled
in php.ini. Otherwise we respect the php.ini setting
Definition at line 50 of file application_top.php.