}
// Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
if (isset($_POST['ok']))
{
else
{
// Prepare constants for the template
- define('__MAX_VALUE', $_CONFIG['top10_max']);
+ define('__MAX_VALUE', getConfig('top10_max'));
// Load form template
LOAD_TEMPLATE("admin_config_top10");