本文整理汇总了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;