]> git.wh0rd.org - tt-rss.git/commitdiff
fix schema updater for single user mode
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 20 Mar 2007 05:51:29 +0000 (06:51 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 20 Mar 2007 05:51:29 +0000 (06:51 +0100)
update.php

index 4f7a097c02e67c421050887dc28c4ba8fcfacdd2..27cd871f980ae21f648aa0f6f016bfa8f1d356b4 100644 (file)
@@ -19,7 +19,7 @@
        
        $owner_uid = $_SESSION["uid"];
        
-       if ($_SESSION["access_level"] < 10) { 
+       if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) { 
                print "<p>".
                        __("Error: your access level is insufficient to run this script.")."</p>";
                exit;