1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 07:05:56 +00:00

fix schema updater for single user mode

This commit is contained in:
Andrew Dolgov
2007-03-20 06:51:29 +01:00
parent 5b8db2d4b8
commit 441acab8ff

View 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;