run(); } elseif (!empty($main_class)) { $instance = new $main_class(); $instance->run(); } } if (!file_exists($classPath)) { $classPath = loadBundlesAdmin($script); if (!file_exists($classPath)) { $classPath = $cfg['Path']['shared_version'].'admin/'.$script; } } if (file_exists($classPath)) { loadScript($classPath); } else { // zalogovat chybu logError(__FILE__, __LINE__, 'LAUNCH.PHP INCLUDE ERROR s='.$_GET['s']); $classPath = $cfg['Path']['shared_version'].'admin/main.php'; loadScript($classPath); }