diff --git a/templates/tibiacom/headline.php b/templates/tibiacom/headline.php index bacef45b..36e0dd6e 100644 --- a/templates/tibiacom/headline.php +++ b/templates/tibiacom/headline.php @@ -18,7 +18,7 @@ if(!@file_exists($page_file)) $_GET['t'] = ''; // set font path - putenv('GDFONTPATH=' . dirname(__FILE__)); + putenv('GDFONTPATH=' . __DIR__); // create image $image = imagecreatetruecolor(250, 28);