本文整理汇总了PHP中CApp::getReleaseInfo方法的典型用法代码示例。如果您正苦于以下问题:PHP CApp::getReleaseInfo方法的具体用法?PHP CApp::getReleaseInfo怎么用?PHP CApp::getReleaseInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CApp
的用法示例。
在下文中一共展示了CApp::getReleaseInfo方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$passThrough = $_redirect->applyRedirection();
}
}
}
}
// Get the user's style
$uistyle = CAppUI::pref("UISTYLE");
if (!file_exists("style/{$uistyle}/templates/header.tpl")) {
$uistyle = "mediboard";
}
CJSLoader::$files = array(CJSLoader::getLocaleFile(), "includes/javascript/usertiming.js", "includes/javascript/performance.js", "includes/javascript/printf.js", "includes/javascript/stacktrace.js", "lib/scriptaculous/lib/prototype.js", "lib/scriptaculous/src/scriptaculous.js", "includes/javascript/console.js", "lib/scriptaculous/src/builder.js", "lib/scriptaculous/src/effects.js", "lib/scriptaculous/src/dragdrop.js", "lib/scriptaculous/src/controls.js", "lib/scriptaculous/src/slider.js", "lib/scriptaculous/src/sound.js", "includes/javascript/prototypex.js", "includes/javascript/date.js", "lib/datepicker/datepicker.js", "lib/datepicker/datepicker-locale-fr_FR.js", "lib/livepipe/livepipe.js", "lib/livepipe/tabs.js", "lib/livepipe/window.js", "includes/javascript/treeview.js", "lib/flotr/flotr.js", "lib/flotr/lib/canvastext.js", "lib/jsExpressionEval/parser.js", "lib/store.js/store.js", "includes/javascript/common.js", "includes/javascript/functions.js", "includes/javascript/tooltip.js", "includes/javascript/controls.js", "includes/javascript/cookies.js", "includes/javascript/url.js", "includes/javascript/forms.js", "includes/javascript/checkForms.js", "includes/javascript/aideSaisie.js", "includes/javascript/exObject.js", "includes/javascript/tag.js", "includes/javascript/mbObject.js", "includes/javascript/bowser.min.js", "includes/javascript/configuration.js", "includes/javascript/plugin.js", "includes/javascript/xdr.js", "includes/javascript/usermessage.js", "includes/javascript/jscolor.js", "lib/requirejs/require.js", "lib/flot/jquery.min.js", "includes/javascript/no_conflicts.js", "lib/flot/jquery.flot.min.js", "lib/flot/jquery.flot.JUMlib.js", "lib/flot/jquery.flot.mouse.js", "lib/flot/jquery.flot.symbol.min.js", "lib/flot/jquery.flot.crosshair.min.js", "lib/flot/jquery.flot.resize.min.js", "lib/flot/jquery.flot.stack.min.js", "lib/flot/jquery.flot.bandwidth.js", "lib/flot/jquery.flot.gantt.js", "lib/flot/jquery.flot.time.min.js", "lib/flot/jquery.flot.pie.min.js");
$support = "modules/support/javascript/support.js";
if (file_exists($support) && CModule::getActive("support")) {
CJSLoader::$files[] = $support;
}
$applicationVersion = CApp::getReleaseInfo();
// Check if we are logged in
if (!CAppUI::$instance->user_id) {
$redirect = CValue::get("logout") ? "" : CValue::read($_SERVER, "QUERY_STRING");
$_SESSION["locked"] = null;
// HTTP 403 Forbidden header when RAW response expected
if ($suppressHeaders && !$ajax) {
header("HTTP/1.0 403 Forbidden");
CApp::rip();
}
// Ajax login alert
if ($ajax) {
$tplAjax = new CSmartyDP("modules/system");
$tplAjax->assign("performance", CApp::$performance);
$tplAjax->display("ajax_errors.tpl");
} else {