mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
need to include API's common_functions to use check_load_extension
This commit is contained in:
parent
96f5529abf
commit
b31aa4ae62
@ -10,6 +10,7 @@
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
include_once('../../phpgwapi/inc/common_functions.inc.php');
|
||||||
check_load_extension('gd',true); // true = throw exception if not loadable
|
check_load_extension('gd',true); // true = throw exception if not loadable
|
||||||
|
|
||||||
foreach(array('width'=>1,'height'=>1,'color1'=>'000080','color2'=>'ffffff') as $name => $default)
|
foreach(array('width'=>1,'height'=>1,'color1'=>'000080','color2'=>'ffffff') as $name => $default)
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
include_once('../../phpgwapi/inc/common_functions.inc.php');
|
||||||
check_load_extension('gd',true); // true = throw exception if not loadable
|
check_load_extension('gd',true); // true = throw exception if not loadable
|
||||||
|
|
||||||
foreach(array('width'=>-20,'height'=>40,'border'=>1,'color'=>'000080','bgcolor'=>'0000FF') as $name => $default)
|
foreach(array('width'=>-20,'height'=>40,'border'=>1,'color'=>'000080','bgcolor'=>'0000FF') as $name => $default)
|
||||||
|
Loading…
Reference in New Issue
Block a user