本文整理匯總了PHP中FSS_Helper::CheckTicketLink方法的典型用法代碼示例。如果您正苦於以下問題:PHP FSS_Helper::CheckTicketLink方法的具體用法?PHP FSS_Helper::CheckTicketLink怎麽用?PHP FSS_Helper::CheckTicketLink使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類FSS_Helper
的用法示例。
在下文中一共展示了FSS_Helper::CheckTicketLink方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
echo "<div class='alert alert-danger'><h4>Freestyle Support cannot be run as your default menu item,</h4><p>Freestyle Support Portal ";
echo "cannot be the default menu item on a Joomla site. This is due to how Joomla handles default item urls not being compatible ";
echo "with the Freestyle routing. Please create a new home item of the type 'Freestyle Support' -> 'Redirect to main menu' and set ";
echo "this as your default menu item.";
echo "</p></div>";
}
// Require specific controller if requested
if ($controller = FSS_Input::getCmd('controller')) {
$path = JPATH_COMPONENT . DS . 'controllers' . DS . $controller . '.php';
if (file_exists($path)) {
require_once $path;
} else {
$controller = '';
}
}
FSS_Helper::CheckTicketLink();
// Create the controller
$classname = 'FssController' . $controller;
$controller = new $classname();
$view = FSS_Input::getCmd('view');
if ($view != "csstest") {
FSS_Helper::StylesAndJS(array('tooltip'));
}
// Perform the Request task
$task = FSS_Input::getCmd('task');
if ($task == "captcha_image") {
ob_clean();
require_once JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'helper' . DS . 'captcha.php';
$cap = new FSS_Captcha();
$cap->GetImage();
exit;