git.p6c8.net
/
jirafeau.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove remaining translations from scripting interface
[jirafeau.git]
/
index.php
diff --git
a/index.php
b/index.php
index 4802e33a9dc99efed5de21a3ec92b6ed090f824d..5a2c9263637a21c06a045a94915eb75e8a597815 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-35,7
+35,7
@@
if (has_error ())
}
/* Check if user is allowed to upload. */
}
/* Check if user is allowed to upload. */
-if (!jirafeau_challenge_upload_ip ($cfg,
$_SERVER['REMOTE_ADDR']
))
+if (!jirafeau_challenge_upload_ip ($cfg,
get_ip_address($cfg)
))
{
echo '<div class="error"><p>' . t('Access denied') . '</p></div>';
require (JIRAFEAU_ROOT.'lib/template/footer.php');
{
echo '<div class="error"><p>' . t('Access denied') . '</p></div>';
require (JIRAFEAU_ROOT.'lib/template/footer.php');
patrick-canterino.de