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