diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-16 00:56:38 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-16 00:56:38 +1100 |
| commit | f704b9a7e3fb5164c3aa166411c871fa63720742 (patch) | |
| tree | de3a6d2180e52ea71dcb0faff7a636675a98f8c5 /test.php | |
| parent | 72308d0d32295a144dab6f1789c05d7ab9a75cf8 (diff) | |
Use "intance-config.php" in messages instead of "config.php"
Diffstat (limited to 'test.php')
| -rw-r--r-- | test.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,10 +4,10 @@ require 'inc/functions.php';
require 'inc/display.php';
require 'inc/template.php';
- if (file_exists('inc/instance-config.php')) {
- require 'inc/instance-config.php';
+ if (file_exists('inc/instance-instance-config.php')) {
+ require 'inc/instance-instance-config.php';
}
- require 'inc/config.php';
+ require 'inc/instance-config.php';
require 'inc/user.php';
function image($type) {
@@ -49,11 +49,11 @@ $body .= check('Select database.', 'ok');
else {
$body .= check('Select database.', 'error');
- $todo[] = 'config.php: Check database configuration.';
+ $todo[] = 'instance-config.php: Check database configuration.';
}
} else {
$body .= check('Connection to server.', 'error');
- $todo[] = 'config.php: Check database configuration.';
+ $todo[] = 'instance-config.php: Check database configuration.';
}
// Configuration
@@ -61,7 +61,7 @@ $root = dirname($_SERVER['REQUEST_URI']) . '/';
if(ROOT != $root) {
$body .= check('Correct document root.', 'error');
- $todo[] = "config.php: Change ROOT to '{$root}'";
+ $todo[] = "instance-config.php: Change ROOT to '{$root}'";
} else
$body .= check('Correct document root.', 'ok');
|
