]> git.mxchange.org Git - friendica.git/commitdiff
language file security
authorFriendika <info@friendika.com>
Sat, 19 Mar 2011 22:12:04 +0000 (15:12 -0700)
committerFriendika <info@friendika.com>
Sat, 19 Mar 2011 22:12:04 +0000 (15:12 -0700)
boot.php
util/.htaccess [new file with mode: 0644]
util/README

index 66d4bc124b40f7201e3b15367d720c62ea923793..c10b1ea6f412c33618b6a0fe6a966c570e670393 100644 (file)
--- 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 (file)
index 0000000..b311c14
--- /dev/null
@@ -0,0 +1,5 @@
+Options -Indexes
+
+# Remove the following line or modify it to run the string translator utility
+Deny from all
+
index 8518aafd27ba3167360a52863287d8b44d5b4bbe..cb2fd9b55b7e72a4232fadc8c4e01308465348be 100644 (file)
@@ -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.