From: Andrew Dolgov Date: Tue, 20 Mar 2007 05:51:29 +0000 (+0100) Subject: fix schema updater for single user mode X-Git-Tag: 1.2.10~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=441acab8ff3a62e11d70ed920f0b12ad08b20e09;p=tt-rss.git fix schema updater for single user mode --- diff --git a/update.php b/update.php index 4f7a097c..27cd871f 100644 --- a/update.php +++ b/update.php @@ -19,7 +19,7 @@ $owner_uid = $_SESSION["uid"]; - if ($_SESSION["access_level"] < 10) { + if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) { print "

". __("Error: your access level is insufficient to run this script.")."

"; exit;