| 131 |
} |
} |
| 132 |
fclose($f); |
fclose($f); |
| 133 |
eval($code); |
eval($code); |
| 134 |
|
$subdir = dirname($_SERVER['PHP_SELF']); |
| 135 |
|
if ($subdir == '/' OR $subdir == '\\') $subdir = ''; |
| 136 |
|
$this->mosConfig_live_site = 'http://'.$_SERVER['SERVER_NAME'].$subdir; |
| 137 |
preg_match_all('/\$this\-\>([A-Za-z_][A-Za-z0-9_]*)/', $code, $matches); |
preg_match_all('/\$this\-\>([A-Za-z_][A-Za-z0-9_]*)/', $code, $matches); |
| 138 |
foreach ($matches[1] as $match) $GLOBALS[$match] = $this->$match; |
foreach ($matches[1] as $match) $GLOBALS[$match] = $this->$match; |
| 139 |
if (!isset($this->mosConfig_register_globals)) { |
if (!isset($this->mosConfig_register_globals)) { |
| 141 |
$GLOBALS['mosConfig_register_globals'] = 0; |
$GLOBALS['mosConfig_register_globals'] = 0; |
| 142 |
} |
} |
| 143 |
} |
} |
| 144 |
|
<<<<<<< .mine |
| 145 |
|
|
| 146 |
|
|
| 147 |
|
|
| 148 |
|
|
| 149 |
|
|
| 150 |
|
|
| 151 |
|
|
| 152 |
|
======= |
| 153 |
|
|
| 154 |
|
function getFavIcon () { |
| 155 |
|
// favourites icon |
| 156 |
|
if (!isset($this->mosConfig_favicon)) $this->mosConfig_favicon = 'favicon.ico'; |
| 157 |
|
if (!file_exists($this->rootPath.'/images/'.$this->mosConfig_favicon)) $this->mosConfig_favicon = 'favicon.ico'; |
| 158 |
|
return $this->rootPath.'/images/'.$this->mosConfig_favicon; |
| 159 |
|
} |
| 160 |
|
>>>>>>> .theirs |
| 161 |
|
|
| 162 |
function getFavIcon () { |
function getFavIcon () { |
| 163 |
// favourites icon |
// favourites icon |
| 425 |
|
|
| 426 |
} |
} |
| 427 |
|
|
| 428 |
require_once ('database.php'); |
if (!isset($adminside)) $adminside = 0; |
| 429 |
|
if (!isset($indextype)) $indextype = 1; |
| 430 |
|
|
| 431 |
|
$configuration =& mamboCore::getMamboCore(); |
| 432 |
|
$configuration->handleGlobals(); |
| 433 |
|
|
| 434 |
|
require_once ($configuration->rootPath().'/includes/database.php'); |
| 435 |
|
|
| 436 |
/** |
/** |
| 437 |
* Sorts an Array of objects |
* Sorts an Array of objects |
| 2163 |
} |
} |
| 2164 |
} |
} |
| 2165 |
|
|
|
if (!isset($adminside)) $adminside = 0; |
|
|
if (!isset($indextype)) $indextype = 1; |
|
|
|
|
|
$configuration =& mamboCore::getMamboCore(); |
|
|
$configuration->handleGlobals(); |
|
|
|
|
| 2166 |
require($configuration->rootPath().'/includes/version.php'); |
require($configuration->rootPath().'/includes/version.php'); |
| 2167 |
$_VERSION =& new version(); |
$_VERSION =& new version(); |
| 2168 |
|
|