$charset = $razorArray['settings']['charset']; } header("Content-type: text/html; charset={$charset}"); /////////////////////////////////////////////////////////// // load active installed blades /////////////////////////// foreach ($razorArray['active-bladepack'] as $bladePack) { if (file_exists(getSystemRoot(RAZOR_HOME_FILENAME) . RAZOR_BLADEPACK_DIR . $bladePack . '.php')) { include_once getSystemRoot(RAZOR_HOME_FILENAME) . RAZOR_BLADEPACK_DIR . $bladePack . '.php'; } } /////////////////////////////////////////////////////////// // edit razor array /////////////////////////////////////// BsocketB('public-edit-razorarray', array(&$razorArray)); /////////////////////////////////////////////////////////// // set page contents to display /////////////////////////// $theme = setActivePage(); /////////////////////////////////////////////////////////// // socket load points ///////////////////////////////////// BsocketB('public-index-socket1'); BsocketB('public-index-socket2'); BsocketB('public-index-socket3'); /////////////////////////////////////////////////////////// // end buffering of output //////////////////////////////// ob_end_flush(); /////////////////////////////////////////////////////////// // Load theme for public ////////////////////////////////// if (isset($razorArray['settings']['maintenance']) && $razorArray['settings']['maintenance'] && !isset($_SESSION['adminLogIn'])) { include_once 'theme/maintenance_xhtml.php'; } else { include_once $loadTheme; }
echo $form; exit; } // end /////////// // if authenticated, continue // // set up functions library /////////////////////////////// include_once "core/admin_func.php"; include_once 'core/admin_class.php'; include_once 'lib/zip.lib.php'; include_once 'lib/unzip.lib.php'; include_once 'lib/razorXML.lib.php'; /////////////////////////////////////////////////////////// // set up logs directory ////////////////////////////////// createLogsDir(); /////////////////////////////////////////////////////////// // set page contents to display /////////////////////////// setActivePage(); /////////////////////////////////////////////////////////// // socket load points ///////////////////////////////////// BsocketB('admin-index-socket1'); BsocketB('admin-index-socket2'); BsocketB('admin-index-socket3'); /////////////////////////////////////////////////////////// // Load default theme for admin ////////////////////////// $theme = "theme/default_admin_xhtml.php"; BsocketB('admin-change-theme', array(&$theme)); include_once $theme; ////////////////////////////////////////////////////////// ?>