aboutsummaryrefslogtreecommitdiffstats
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
parentbe67cf663bc645d9825c7d6c6059663fead06645 (diff)
downloadvolse-hubzilla-6a56ac2add9b96b97a66cdc63722f30234f4cb6b.tar.gz
volse-hubzilla-6a56ac2add9b96b97a66cdc63722f30234f4cb6b.tar.bz2
volse-hubzilla-6a56ac2add9b96b97a66cdc63722f30234f4cb6b.zip
language file security
-rw-r--r--boot.php2
-rw-r--r--util/.htaccess5
-rw-r--r--util/README1
3 files changed, 7 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 66d4bc124..c10b1ea6f 100644
--- a/boot.php
+++ b/boot.php
@@ -2,7 +2,7 @@
set_time_limit(0);
-define ( 'FRIENDIKA_VERSION', '2.1.922' );
+define ( 'FRIENDIKA_VERSION', '2.1.923' );
define ( 'DFRN_PROTOCOL_VERSION', '2.1' );
define ( 'DB_UPDATE_VERSION', 1043 );
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.