ZenCart_Documentation  1.5.0
http://www.collinsharper.com
C:/xampp/htdocs/zen-cart/admin/includes/initsystem.php
Go to the documentation of this file.
00001 <?php
00014 if (!defined('IS_ADMIN_FLAG'))
00015 {
00016   die('Illegal Access');
00017 }
00018 
00019 $base_dir = DIR_WS_INCLUDES . 'auto_loaders/';
00020 if (file_exists(DIR_WS_INCLUDES . 'auto_loaders/overrides/' . $loader_file)) {
00021   $base_dir = DIR_WS_INCLUDES . 'auto_loaders/overrides/';
00022 }
00026 include($base_dir . $loader_file);
00027 if ($loader_dir = dir(DIR_WS_INCLUDES . 'auto_loaders')) {
00028   while ($loader_file = $loader_dir->read()) {
00029     $matchPattern = '/^' . $loaderPrefix . '\./';
00030     if ((preg_match($matchPattern, $loader_file) > 0) && (preg_match('/\.php$/', $loader_file) > 0)) {
00031       if ($loader_file != $loaderPrefix . '.core.php') {
00032         $base_dir = DIR_WS_INCLUDES . 'auto_loaders/';
00033         if (file_exists(DIR_WS_INCLUDES . 'auto_loaders/overrides/' . $loader_file)) {
00034           $base_dir = DIR_WS_INCLUDES . 'auto_loaders/overrides/';
00035         }
00039         include($base_dir . $loader_file);
00040       }
00041     }
00042   }
00043   $loader_dir->close();
00044   unset($loader_dir, $loader_file);
00045 }
 All Data Structures Namespaces Files Functions Variables Enumerations