diff options
-rw-r--r-- | core/views/simple_uploader.html.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/views/simple_uploader.html.php b/core/views/simple_uploader.html.php index 829c8fbc..36257761 100644 --- a/core/views/simple_uploader.html.php +++ b/core/views/simple_uploader.html.php @@ -10,6 +10,14 @@ </form> <div id="gAddPhotos"> + <? if (ini_get("suhosin.session.encrypt")): ?> + <div class="gError"> + <?= t("Error: your server is configured to use the <a href=\"%encrypt_url\"><code>suhosin.session.encrypt</code></a> setting from <a href=\"%suhosin_url\">Suhosin</a>. You must disable this setting to upload photos.", + array("encrypt_url" => "http://www.hardened-php.net/suhosin/configuration.html#suhosin.session.encrypt", + "suhosin_url" => "http://www.hardened-php.net/suhosin/")) ?> + </div> + <? endif ?> + <p> <?= t("Photos will be uploaded to album: ") ?> </p> |