Browse Source

language file security

pull/1/head
Friendika 10 years ago
parent
commit
6a56ac2add
3 changed files with 7 additions and 1 deletions
  1. +1
    -1
      boot.php
  2. +5
    -0
      util/.htaccess
  3. +1
    -0
      util/README

+ 1
- 1
boot.php View File

@ -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 );


+ 5
- 0
util/.htaccess View File

@ -0,0 +1,5 @@
Options -Indexes
# Remove the following line or modify it to run the string translator utility
Deny from all

+ 1
- 0
util/README View 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.

Loading…
Cancel
Save