GX-Bug #50366 » XMLExportFix.patch
| src/includes/application_top_export.php (revision ) | ||
|---|---|---|
| 93 | 93 |
require_once(DIR_FS_CATALOG.'gm/inc/gm_get_env_info.inc.php'); |
| 94 | 94 |
require_once(DIR_FS_CATALOG.'system/gngp_layer_init.inc.php'); |
| 95 | 95 |
|
| 96 |
require_once (DIR_FS_CATALOG . 'gm/inc/gm_set_conf.inc.php'); |
|
| 97 |
require_once (DIR_FS_CATALOG . 'gm/inc/gm_get_conf.inc.php'); |
|
| 98 |
|
|
| 96 | 99 |
$coo_timezone_setter = MainFactory::create_object('TimezoneSetter');
|
| 97 | 100 |
$coo_timezone_setter->set_date_default_timezone(); |
| 98 | 101 |
|
| 99 | 102 |
StopWatch::get_instance()->add_specific_time_stamp('start', PAGE_PARSE_START_TIME);
|
| 103 |
|
|
| 104 |
# custom class autoloader |
|
| 105 |
spl_autoload_register(array(new MainAutoloader('frontend'), 'load'));
|
|
| 106 |
|
|
| 107 |
// Composer class autoloader. |
|
| 108 |
if(!file_exists(DIR_FS_CATALOG . 'vendor/autoload.php')) |
|
| 109 |
{
|
|
| 110 |
throw new RuntimeException('Vendor directory is missing from the filesystem. Please install the PHP dependencies by '
|
|
| 111 |
. 'executing the "composer install && gulp general:composer" command.'); |
|
| 112 |
} |
|
| 113 |
require_once(DIR_FS_CATALOG . 'vendor/autoload.php'); |
|
| 100 | 114 |
|
| 101 | 115 |
# global debugger object |
| 102 | 116 |
$coo_debugger = new Debugger(); |