aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-20 13:06:32 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-20 13:06:32 -0400
commitf4d9d34bbce463e09d45dce137c35ed531bc4ba1 (patch)
treea541fb28d557246ff6460287d4c0acb513d6a730 /boot.php
parente5f4d80bbe0c085a55f676aa1b05fb9bab1e4dc7 (diff)
parentcc09f9a7a5f799a0811ba83799c0a3ac6598c476 (diff)
downloadvolse-hubzilla-f4d9d34bbce463e09d45dce137c35ed531bc4ba1.tar.gz
volse-hubzilla-f4d9d34bbce463e09d45dce137c35ed531bc4ba1.tar.bz2
volse-hubzilla-f4d9d34bbce463e09d45dce137c35ed531bc4ba1.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 0ce4ab93e..6cf92d577 100755
--- a/boot.php
+++ b/boot.php
@@ -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