public static function getInstance($debug = FALSE) { if (self::$instance === NULL) { self::$instance = new curlClass($debug); } return self::$instance; }