X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=config.default.php;h=37fcd7360af39787c1cb7fc50460f7b72780d421;hp=f6911699da7e98e8a7430b89d5f9f60da1a65a5a;hb=26d7ae434469ae407f209ae3c0d3955b29107d95;hpb=d907208297556310cc7c51fcb9086869c880ab2d diff --git a/config.default.php b/config.default.php index f6911699..37fcd736 100644 --- a/config.default.php +++ b/config.default.php @@ -150,7 +150,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $graph_skin = 1; /* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */ - $UTF8_fontfile = $_SESSION['language']->dir == 'ltr' ? "FreeSans.ttf" : "zarnormal.ttf"; // for Arabic Dashboard + $UTF8_fontfile = isset($_SESSION['language']) && $_SESSION['language']->dir == 'rtl' ? "zarnormal.ttf" : "FreeSans.ttf"; // for Dashboard /* Display a dropdown select box for choosing Company to login if false.