1
1
Fork 0

language file security

This commit is contained in:
Friendika 2011-03-19 15:12:04 -07:00
parent be67cf663b
commit 6a56ac2add
3 changed files with 7 additions and 1 deletions

View file

@ -2,7 +2,7 @@
set_time_limit(0); set_time_limit(0);
define ( 'FRIENDIKA_VERSION', '2.1.922' ); define ( 'FRIENDIKA_VERSION', '2.1.923' );
define ( 'DFRN_PROTOCOL_VERSION', '2.1' ); define ( 'DFRN_PROTOCOL_VERSION', '2.1' );
define ( 'DB_UPDATE_VERSION', 1043 ); define ( 'DB_UPDATE_VERSION', 1043 );

5
util/.htaccess Normal file
View file

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

View file

@ -115,6 +115,7 @@ translation to messages.po. Run:
$ php util/php2po.php view/<language>/strings.php $ 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.