]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_surfbar.php
Email templates changed, surfbar extended (dummy) with member actions
[mailer.git] / inc / modules / admin / what-config_surfbar.php
index e4a40f8023c71ffbb8a2f2299b78c40f32d750cf..8533ba0414ad761f66842e264169239b8fd87a84 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) {
+if ((!defined('__SECURITY')) || (!is_admin())) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 }
@@ -61,7 +61,9 @@ if (isset($_POST['ok'])) {
                'surfbar_dynamic_percent' => TRANSLATE_COMMA($_CONFIG['surfbar_dynamic_percent']),
                'surfbar_max_order'       => $_CONFIG['surfbar_max_order'],
                // @TODO Rewrite this to tiny selection boxes
-               'surfbar_stats_reload'    => $_CONFIG['surfbar_stats_reload']
+               'surfbar_stats_reload'    => $_CONFIG['surfbar_stats_reload'],
+               // @TODO Rewrite this to tiny selection boxes
+               'surfbar_purge_deleted'   => $_CONFIG['surfbar_purge_deleted']
        );
 
        // Prepare payment model for template