if (function_exists('posix_getuid') && posix_getuid() == 0) {
$err_msg = "Please don't run this script as root.";
}
if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) {
$err_msg = "Configuration file (config.php) has incorrect version. Update it with new options from config.php-dist and set CONFIG_VERSION to the correct value.";
}
@ -116,7 +120,7 @@
}
}
if ($err_msg) { ?>
if ($err_msg&& defined($_SERVER['REQUEST_URI'])) { ?>