/** * Class constructor. We load the image library the admin decided to use on their site. * */ public function __construct() { if (!self::$_oObject) { $sDriver = 'phpfox.image.library.gd'; self::$_oObject = Phpfox::getLib($sDriver); } }