ut.php', 'orders' => TARGETS_DIR . 'orders.php', 'taxes' => TARGETS_DIR . 'taxes.php', 'memberships' => TARGETS_DIR . 'memberships.php', 'destinations' => TARGETS_DIR . 'destinations.php', 'countries' => TARGETS_DIR . 'countries.php', 'payments' => TARGETS_DIR . 'payments.php', 'tools' => TARGETS_DIR . 'tools.php', 'html_catalog' => TARGETS_DIR . 'html_catalog.php', 'topics' => TARGETS_DIR . 'topics.php', 'pages' => TARGETS_DIR . 'pages.php', 'sitemap' => TARGETS_DIR . 'sitemap.php', 'exceptions' => TARGETS_DIR . 'exceptions.php', 'search' => TARGETS_DIR . 'search.php', 'statistics' => TARGETS_DIR . 'statistics.php', 'static_data' => TARGETS_DIR . 'static_data.php', 'product_options' => TARGETS_DIR . 'product_options.php', 'file_browser' => TARGETS_DIR . 'file_browser.php', 'client_env' => TARGETS_DIR . 'client_env.php', 'payment_notification' => TARGETS_DIR . 'payment_notification.php', 'template_editor' => TARGETS_DIR . 'template_editor.php', 'product_features' => TARGETS_DIR . 'product_features.php', 'site_layout' => TARGETS_DIR . 'site_layout.php', 'upgrade_center' => TARGETS_DIR . 'upgrade_center.php', 'skin_selector' => TARGETS_DIR . 'skin_selector.php', 'forms' => TARGETS_DIR . 'forms.php', 'my_account' => TARGETS_DIR . 'my_account.php', 'currencies' => TARGETS_DIR . 'currencies.php', 'order_management' => TARGETS_DIR . 'order_management.php', 'logs' => TARGETS_DIR . 'logs.php', 'statuses' => TARGETS_DIR . 'statuses.php', 'profile_fields' => TARGETS_DIR . 'profile_fields.php', 'license' => TARGETS_DIR . 'license.php', 'database' => TARGETS_DIR . 'database.php', 'image_verification' => TARGETS_DIR . 'image_verification.php', 'xml_feeds' => TARGETS_DIR . 'xml_feeds.php', 'exim' => TARGETS_DIR . 'exim.php', 'graph' => TARGETS_DIR . 'graph.php', ); // // Days of week // define('SUNDAY', 0); define('MONDAY', 1); define('TUESDAY', 2); define('WEDNESDAY', 3); define('THURSDAY', 4); define('FRIDAY', 5); define('SATURDAY', 6); define('STATUSES_ORDER', 'O'); define('NOT_A_MEMBER', 0); define('ALL_MEMBERSHIPS', -1); // // Check if logging is enabled // if (file_exists($var_dir['log'].'settings.php')) { include $var_dir['log'].'settings.php'; } if (defined('LOG_PHP_EVENTS')) { ini_set("log_errors", 1); if (!file_exists($var_dir['log'].'php_events_'.date("Y-m-d").'.log.php')) { $fd = @fopen($var_dir['log'].'php_events_'.date("Y-m-d").'.log.php', 'w'); @fwrite($fd, "