aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-19 15:12:04 -0700
committerFriendika <info@friendika.com>2011-03-19 15:12:04 -0700
commit6a56ac2add9b96b97a66cdc63722f30234f4cb6b (patch)
tree5d720e6d9b5baf652f90c697c8198e3658c71a4a /util
parentbe67cf663bc645d9825c7d6c6059663fead06645 (diff)
downloadvolse-hubzilla-6a56ac2add9b96b97a66cdc63722f30234f4cb6b.tar.gz
volse-hubzilla-6a56ac2add9b96b97a66cdc63722f30234f4cb6b.tar.bz2
volse-hubzilla-6a56ac2add9b96b97a66cdc63722f30234f4cb6b.zip
language file security
Diffstat (limited to 'util')
-rw-r--r--util/.htaccess5
-rw-r--r--util/README1
2 files changed, 6 insertions, 0 deletions
diff --git a/util/.htaccess b/util/.htaccess
new file mode 100644
index 000000000..b311c14c2
--- /dev/null
+++ b/util/.htaccess
@@ -0,0 +1,5 @@
+Options -Indexes
+
+# Remove the following line or modify it to run the string translator utility
+Deny from all
+
diff --git a/util/README b/util/README
index 8518aafd2..cb2fd9b55 100644
--- a/util/README
+++ b/util/README
@@ -115,6 +115,7 @@ translation to messages.po. Run:
$ php util/php2po.php view/<language>/strings.php
+You may also use the util/string_translator.php web interface to translate the string file, but it is disabled for website security reasons. The web server will need write permission to your language directories and the "Deny ..." line in util/.htaccess will need to be modified or commented to use the utility.