Supprimer le public de l'URL dans le codeigniter

$pathsPath = realpath(FCPATH . '../app/Config/Paths.php');
replace by
$pathsPath = realpath(FCPATH . '../app/Config/Paths.php');
Energetic Echidna