Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/includes/core.classes.php
Parent Directory
|
Revision Log
|
Patch
| 298 |
function checkConfig () { |
function checkConfig () { |
| 299 |
// checks for configuration file, if none found loads installation page |
// checks for configuration file, if none found loads installation page |
| 300 |
if (!file_exists($this->rootPath.'/configuration.php') OR filesize($this->rootPath.'/configuration.php') < 10 ) { |
if (!file_exists($this->rootPath.'/configuration.php') OR filesize($this->rootPath.'/configuration.php') < 10 ) { |
| 301 |
#header( 'Location: installation/index.php' ); |
header( 'Location: installation/index.php' ); |
| 302 |
exit(); |
exit(); |
| 303 |
} |
} |
| 304 |
} |
} |
| 337 |
$localpath = $_SERVER['PHP_SELF']; |
$localpath = $_SERVER['PHP_SELF']; |
| 338 |
$docroot = substr($absolutepath,0,strpos($absolutepath,$localpath)); |
$docroot = substr($absolutepath,0,strpos($absolutepath,$localpath)); |
| 339 |
} |
} |
| 340 |
$mamboroot = str_replace('\\', '/', $this->rootPath); |
$mamboroot = str_replace('\\', '/', rtrim($this->rootPath, '\/')); |
| 341 |
$this->subdirectory = substr($mamboroot, strlen($docroot)); |
$this->subdirectory = substr($mamboroot, strlen($docroot)); |
| 342 |
|
|
| 343 |
|
|
|
|
Legend:
| Removed from v.532 |
|
| changed lines |
| |
Added in v.533 |
|
|

Web Hosting provided by Network
Redux.