summaryrefslogtreecommitdiffstats
path: root/usr/local/www/preload.php
diff options
context:
space:
mode:
authorRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-29 12:01:42 -0300
committerRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-29 12:01:42 -0300
commit5a9a22b6f7cd60a6a83959b3a233f1f189f487ba (patch)
tree6c6aed059974a52592d657d8b6b0913329cd53ab /usr/local/www/preload.php
parent38232678de68b6f9b0a5bd1e761056ed1f30aa02 (diff)
downloadpfsense-5a9a22b6f7cd60a6a83959b3a233f1f189f487ba.zip
pfsense-5a9a22b6f7cd60a6a83959b3a233f1f189f487ba.tar.gz
Implement gettext() calls on preload.php
Diffstat (limited to 'usr/local/www/preload.php')
-rwxr-xr-xusr/local/www/preload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/preload.php b/usr/local/www/preload.php
index 0774949..c70d54e 100755
--- a/usr/local/www/preload.php
+++ b/usr/local/www/preload.php
@@ -3,7 +3,7 @@
/* make sure we are coming from 127.0.0.1 */
$ip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
if($ip <> "127.0.0.1")
- die("You are not allowed to access this page.");
+ die(gettext("You are not allowed to access this page."));
/* preload */
@@ -63,4 +63,4 @@ include('/usr/local/www/includes/functions.inc.php');
include("fbegin.inc");
include("fend.inc");
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud