aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-22 10:29:34 +0000
committerplegall <plg@piwigo.org>2010-03-22 10:29:34 +0000
commitf635122ef203ee98175c08c22721ba34a2391275 (patch)
treea9f8636e8bd91c2e8717602b71bd0b823b8ae50e /include/common.inc.php
parenta5f395183a720d4db81b8da26d5bfa9aea7d728b (diff)
feature 1505: bug fixed, ability to connect with pLoader even if gallery
is empty. git-svn-id: http://piwigo.org/svn/trunk@5251 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-rw-r--r--include/common.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 4aaf940c1..085dff703 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -169,6 +169,7 @@ if (
!isset($conf['no_photo_yet']) // the message disappears at first photo
and !(defined('IN_ADMIN') and IN_ADMIN) // no message inside administration
and script_basename() != 'identification' // keep the ability to login
+ and script_basename() != 'ws' // keep the ability to discuss with web API
and !isset($_SESSION['no_photo_yet']) // temporary hide
)
{