language file security

2022.09-rc
Friendika 2011-03-19 15:12:04 -07:00
rodzic be67cf663b
commit 6a56ac2add
3 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -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
util/.htaccess 100644
Wyświetl plik

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

Wyświetl plik

@ -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.