]> git.deb.at Git - deb/packages.git/blobdiff - lib/Packages/Config.pm
Move $debug_allowed to CGI as a real constant and modify all debug() calls
[deb/packages.git] / lib / Packages / Config.pm
index 0645d5833cdefe4cfbefd6050e55319b88112ad0..538e912e855a965485eeffde8f4c9d8353f5befb 100644 (file)
@@ -60,7 +60,7 @@ sub init {
            @ARCHITECTURES = split(/\s+/, $1) if /^\s*architectures="?([^\"]*)"?\s*$/o;
        }
        close (C);
-       debug( "read config ($modtime > $config_read_time)" );
+       debug( "read config ($modtime > $config_read_time)" ) if DEBUG;
        $config_read_time = $modtime;
     }
     $DBDIR = "$TOPDIR/files/db";