mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* use __DIR__ instead of dirname(__FILE__) - since PHP 5.3.0
This commit is contained in:
parent
bf361238cb
commit
023eb3b0ff
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user