diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-20 13:07:29 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-20 13:07:29 -0400 |
commit | 8cd9a1e4fc28d92d270e3f154c144123dca9044a (patch) | |
tree | 20e9d45895fdea5a1af3f4066a95c526e7476a20 /boot.php | |
parent | 20b4fc919871433df6111cbb8b3508fd1693123b (diff) | |
parent | cc09f9a7a5f799a0811ba83799c0a3ac6598c476 (diff) | |
download | volse-hubzilla-8cd9a1e4fc28d92d270e3f154c144123dca9044a.tar.gz volse-hubzilla-8cd9a1e4fc28d92d270e3f154c144123dca9044a.tar.bz2 volse-hubzilla-8cd9a1e4fc28d92d270e3f154c144123dca9044a.zip |
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -48,7 +48,7 @@ define ( 'PLATFORM_NAME', 'hubzilla' ); define ( 'STD_VERSION', '1.9' ); define ( 'ZOT_REVISION', 1.1 ); -define ( 'DB_UPDATE_VERSION', 1177 ); +define ( 'DB_UPDATE_VERSION', 1178 ); /** @@ -771,6 +771,7 @@ class App { public static $groups; public static $language; public static $langsave; + public static $rtl = false; public static $plugins_admin; public static $module_loaded = false; public static $query_string; @@ -2282,6 +2283,12 @@ function construct_page(&$a) { $page = App::$page; $profile = App::$profile; + // There's some experimental support for right-to-left text in the view/php/default.php page template. + // In v1.9 we started providing direction preference in the per language hstrings.php file + // This requires somebody with fluency in a RTL language to make happen + + $page['direction'] = 0; // ((App::$rtl) ? 1 : 0); + header("Content-type: text/html; charset=utf-8"); // security headers - see https://securityheaders.io |