Use "intance-config.php" in messages instead of "config.php"
This commit is contained in:
parent
72308d0d32
commit
f704b9a7e3
12
test.php
12
test.php
@ -4,10 +4,10 @@
|
|||||||
require 'inc/functions.php';
|
require 'inc/functions.php';
|
||||||
require 'inc/display.php';
|
require 'inc/display.php';
|
||||||
require 'inc/template.php';
|
require 'inc/template.php';
|
||||||
if (file_exists('inc/instance-config.php')) {
|
if (file_exists('inc/instance-instance-config.php')) {
|
||||||
require 'inc/instance-config.php';
|
require 'inc/instance-instance-config.php';
|
||||||
}
|
}
|
||||||
require 'inc/config.php';
|
require 'inc/instance-config.php';
|
||||||
require 'inc/user.php';
|
require 'inc/user.php';
|
||||||
|
|
||||||
function image($type) {
|
function image($type) {
|
||||||
@ -49,11 +49,11 @@
|
|||||||
$body .= check('Select database.', 'ok');
|
$body .= check('Select database.', 'ok');
|
||||||
else {
|
else {
|
||||||
$body .= check('Select database.', 'error');
|
$body .= check('Select database.', 'error');
|
||||||
$todo[] = 'config.php: Check database configuration.';
|
$todo[] = 'instance-config.php: Check database configuration.';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$body .= check('Connection to server.', 'error');
|
$body .= check('Connection to server.', 'error');
|
||||||
$todo[] = 'config.php: Check database configuration.';
|
$todo[] = 'instance-config.php: Check database configuration.';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configuration
|
// Configuration
|
||||||
@ -61,7 +61,7 @@
|
|||||||
$root = dirname($_SERVER['REQUEST_URI']) . '/';
|
$root = dirname($_SERVER['REQUEST_URI']) . '/';
|
||||||
if(ROOT != $root) {
|
if(ROOT != $root) {
|
||||||
$body .= check('Correct document root.', 'error');
|
$body .= check('Correct document root.', 'error');
|
||||||
$todo[] = "config.php: Change ROOT to '{$root}'";
|
$todo[] = "instance-config.php: Change ROOT to '{$root}'";
|
||||||
} else
|
} else
|
||||||
$body .= check('Correct document root.', 'ok');
|
$body .= check('Correct document root.', 'ok');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user