本文整理匯總了PHP中Head::setFavicon方法的典型用法代碼示例。如果您正苦於以下問題:PHP Head::setFavicon方法的具體用法?PHP Head::setFavicon怎麽用?PHP Head::setFavicon使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Head
的用法示例。
在下文中一共展示了Head::setFavicon方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: header
}
/* REDIRECTS IF THERE WAS AN ERROR */
if (!$DB->Connect()) {
header("Location: ../../includes/inc.error.php?error=" . $DB->Error);
}
include_dir("../../classes");
session_name("admin");
session_cache_expire(15800);
session_start();
/* SECURIRTY CHECKS */
$Security = new Security();
if ($Security->checkProfile($_SESSION['admin_id'])) {
$Admin = new AdminData();
$Cookies = new Login($Admin->User);
$Cookies->setCookies();
// $URL = 'http://localhost/projects/admin/files/modules/main/process.php';
// $Meli = new Meli('4853777712698373', 'zhBim3Li6QKCTUht49YLnhpbT66CQwGm', $_SESSION['access_token'], $_SESSION['refresh_token']);
// if(!$_SESSION['code'] && !$_SESSION['access_token']) {
// // Redirects to ML if APP don't have access
// header("Location: ".$Meli->getAuthUrl($URL, Meli::$AUTH_URL['MLA']));
// die();
// }
}
/* ADDING SLASHES TO PUBLIC VARIABLES */
$_POST = AddSlashesArray($_POST);
$_GET = AddSlashesArray($_GET);
/* SETTING HEAD OF THE DOCUMENT */
$Head = new Head();
$Head->setFavicon("../../../skin/images/body/icons/favicon.png");
/* SETTING FOOT OF THE DOCUMENT */
$Foot = new Foot();