[eluser]Nummero2[/eluser]
Ok kind of confused
Heres what I did:
created a new script php file and put your code in it
Quote:$test123 = glob(APPPATH.'helpers/*_autoload_helper.php');
foreach($test123 as $key=>$test12)
{
$test123[$key] = str_replace('_helper.php','',substr(strrchr($test12,'/'),1));
}
$autoload['helper'] = $test123;
echo dump ( $test123 );
in my index.php view I created a new case for testing if my helpers are given as an array (thats why I put the echo dump statement there)
All I get is a blank screen, no error messages whatsoever but no "dumped" array of my helpers :-(
I looked further and realisied that I don´t have a _autoload_helper.php file in my helper folders which are two
- one located in 'xampp\htdocs\intranet\system\helpers',
- the other one in 'xampp\htdocs\intranet\system\application\helpers',
Don´t know am I understanding something wrong or did the guy who created the system delete the file?
Any help is appreciated
Greetings Sebastian