forked from Wavyzz/dolibarr
Fix use command standard @... to mark a change in official code
This commit is contained in:
@@ -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.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user