Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/index.php
Parent Directory
|
Revision Log
|
Patch
| 176 |
// favourites icon |
// favourites icon |
| 177 |
if (!isset($this->mosConfig_favicon)) $this->mosConfig_favicon = 'favicon.ico'; |
if (!isset($this->mosConfig_favicon)) $this->mosConfig_favicon = 'favicon.ico'; |
| 178 |
if (!file_exists($this->rootPath.'/images/'.$this->mosConfig_favicon)) $this->mosConfig_favicon = 'favicon.ico'; |
if (!file_exists($this->rootPath.'/images/'.$this->mosConfig_favicon)) $this->mosConfig_favicon = 'favicon.ico'; |
| 179 |
return $this->rootPath.'/images/'.$this->mosConfig_favicon; |
return $this->mosConfig_live_site.'/images/'.$this->mosConfig_favicon; |
| 180 |
} |
} |
| 181 |
|
|
| 182 |
function offlineCheck (&$user, &$database) { |
function offlineCheck (&$user, &$database) { |
| 1174 |
function menuCheck( $Itemid, $menu_option, $task, $gid ) { |
function menuCheck( $Itemid, $menu_option, $task, $gid ) { |
| 1175 |
// Construct a link to this component - if no menu for it, assume it is OK |
// Construct a link to this component - if no menu for it, assume it is OK |
| 1176 |
$dblink="index.php?option=$menu_option"; |
$dblink="index.php?option=$menu_option"; |
| 1177 |
|
// if ($menu_option == 'com_content' AND $Itemid == 1) return true; |
| 1178 |
if ($this->getIDLikeLink($dblink) == 0) return true; |
if ($this->getIDLikeLink($dblink) == 0) return true; |
| 1179 |
if ($Itemid) { |
if ($Itemid) { |
| 1180 |
$menu =& $this->getMenuByID($Itemid); |
$menu =& $this->getMenuByID($Itemid); |
|
|
Legend:
| Removed from v.478 |
|
| changed lines |
| |
Added in v.486 |
|
|

Web Hosting provided by Network
Redux.