diff options
author | Michal Čihař <michal@cihar.com> | 2005-11-29 01:00:22 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2005-11-29 01:00:22 +0300 |
commit | cd791c6ec2c7a1c596f22592f6390627f028c2e9 (patch) | |
tree | 4f8dc896d50d8f3a70d599dc1da25067cafa08b3 /scripts | |
parent | e6eab83c2c63b37edd65feb083edf38a09511c91 (diff) |
Display all warnings in one place.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/setup.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/setup.php b/scripts/setup.php index 46c9f95bad..339961c713 100644 --- a/scripts/setup.php +++ b/scripts/setup.php @@ -1029,10 +1029,6 @@ if ($action != 'download') { $config = @fopen('../config/config.inc.php', 'a'); $fail_dir = $fail_dir || ($config === FALSE); @fclose($config); - - if ($fail_dir) { - message('warning', 'Please create web server writable folder config in phpMyAdmin toplevel directory as described in <a href="../Documentation.html">documentation</a>. Otherwise you will be only able to download or display it.', 'Can not write configuration'); - } } /** @@ -1629,10 +1625,14 @@ switch ($action) { break; case '': - message('notice', 'You want to configure phpMyAdmin using web interface. Please note that this only allows basic setup, please read <a href="../Documentation.html">documentation</a> to see full description of all configuration directives.', 'Welcome'); + message('notice', 'You want to configure phpMyAdmin using web interface. Please note that this only allows basic setup, please read <a href="../Documentation.html#config">documentation</a> to see full description of all configuration directives.', 'Welcome'); if (PMA_PHP_INT_VERSION < 40100) { - message('warning', 'Please upgrade to PHP 4.1.0, it is required for phpMyAdmin.'); + message('warning', 'Please upgrade to PHP 4.1.0, it is required for phpMyAdmin.', 'Too old PHP'); + } + + if ($fail_dir) { + message('warning', 'Please create web server writable folder config in phpMyAdmin toplevel directory as described in <a href="../Documentation.html#setup_script">documentation</a>. Otherwise you will be only able to download or display it.', 'Can not write configuration'); } if (empty($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) == 'off') { |