mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +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'] = '';
|
$_GET['t'] = '';
|
||||||
|
|
||||||
// set font path
|
// set font path
|
||||||
putenv('GDFONTPATH=' . dirname(__FILE__));
|
putenv('GDFONTPATH=' . __DIR__);
|
||||||
|
|
||||||
// create image
|
// create image
|
||||||
$image = imagecreatetruecolor(250, 28);
|
$image = imagecreatetruecolor(250, 28);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user