diff --git a/calendar/inc/gradient.php b/calendar/inc/gradient.php index d79593d5ce..244a74121f 100644 --- a/calendar/inc/gradient.php +++ b/calendar/inc/gradient.php @@ -10,6 +10,7 @@ * @version $Id$ */ +include_once('../../phpgwapi/inc/common_functions.inc.php'); check_load_extension('gd',true); // true = throw exception if not loadable foreach(array('width'=>1,'height'=>1,'color1'=>'000080','color2'=>'ffffff') as $name => $default) diff --git a/calendar/inc/round_corners.php b/calendar/inc/round_corners.php index 9ee50443c4..7f7e3b1d87 100644 --- a/calendar/inc/round_corners.php +++ b/calendar/inc/round_corners.php @@ -10,6 +10,7 @@ * @version $Id$ */ +include_once('../../phpgwapi/inc/common_functions.inc.php'); 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)