You can now change favicon in enhanced theme with default settings

This commit is contained in:
luis daniel lucio quiroz 2014-08-03 23:09:55 +00:00
parent e0b2c042bf
commit 9b68245d67
1 changed files with 7 additions and 1 deletions

View File

@ -33,8 +33,14 @@
if (strlen(PROJECT_PATH) > 0) {
$php_self_dir = substr($php_self_dir, strlen(PROJECT_PATH), strlen($php_self_dir));
}
if (isset($_SESSION['theme']['favicon']['text'])){
$favicon = $_SESSION['theme']['favicon']['text'];
}
else {
$favicon = '<!--{project_path}-->/themes/enhanced/favicon.ico';
}
?>
<link rel="icon" href="<!--{project_path}-->/themes/enhanced/favicon.ico">
<link rel="icon" href="<?php echo $favicon; ?>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type='text/css'>