(05-16-2018, 03:13 AM)InsiteFX Wrote: I always do this first when using those commands.
PHP Code:
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
ob_start();
class YourClass
{
}
Give that a try and see if it helps.
Thanks, this worked ! ... I tried to implement it in other function which has a curl, file_get_content, get_headers It didn't work .
Do you have any idea ?
Thanks again.