本文整理匯總了PHP中Authenticate::check_authentification方法的典型用法代碼示例。如果您正苦於以下問題:PHP Authenticate::check_authentification方法的具體用法?PHP Authenticate::check_authentification怎麽用?PHP Authenticate::check_authentification使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Authenticate
的用法示例。
在下文中一共展示了Authenticate::check_authentification方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: String
include_once "../config.inc.php";
include_once INCLUDE_PATH . "cls_fast_template.php";
include_once INCLUDE_LANGUAGE_PATH . $LANG . ".inc.php";
include_once INCLUDE_LANGUAGE_PATH . $LANG . ".admintool.inc.php";
include_once INCLUDE_PATH . "connection.php";
include_once INCLUDE_PATH . "cls_sidebar.php";
$stringutil = new String("");
$all_url_vars = array();
$all_url_vars = $stringutil->parse_all();
/**
* @author - Test Developer
* @desc - autentication will be called here
* @vers - 1.0
**/
$util = new Authenticate();
$util->check_authentification();
$sb = new Sidebar();
$action = $all_url_vars["action"];
$template_name = $all_url_vars["template_name"];
if ($action != "mod") {
$files_array = array();
//kiolvassuk a template directoryt
foreach ($scanned_directories as $dir) {
$i = 0;
$d = dir(INDEX_PATH . $dir);
while (false !== ($entry = $d->read())) {
$templ[$i] = $dir . $entry;
$i++;
}
$d->close();
sort($templ);