2
0
forked from Wavyzz/dolibarr

Fix use command standard @... to mark a change in official code

This commit is contained in:
Laurent Destailleur
2017-07-17 20:09:19 +02:00
parent 1ef70b387d
commit 4582b54e91
5 changed files with 16 additions and 16 deletions

View File

@@ -37,7 +37,7 @@ $text_color=Array(0,0,0);
/* ******************************************************************** */
if (defined('DOL_DEFAULT_TTF_BOLD')) $font_loc=constant('DOL_DEFAULT_TTF_BOLD');
// Automatic-Detection of Font if running Windows
// DOL_CHANGE LDR
// @CHANGE LDR
if (isset($_SERVER['WINDIR']) && @file_exists($_SERVER['WINDIR'])) $font_loc=$_SERVER['WINDIR'].'\Fonts\arialbd.ttf';
if (empty($font_loc)) die('DOL_DEFAULT_TTF_BOLD must de defined with full path to a TTF font.');