mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
language file security
This commit is contained in:
parent
be67cf663b
commit
6a56ac2add
3 changed files with 7 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -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
5
util/.htaccess
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Options -Indexes
|
||||||
|
|
||||||
|
# Remove the following line or modify it to run the string translator utility
|
||||||
|
Deny from all
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue