I am using this code for active the applications (code below). The weird is some application doesn’t activate. but if I put the code individually, it does work.
I have checked that all apllication is being used with the command sc_apl_status($aplicacion, ‘on’); I don’t see any wrong.
I don’t understand this .perhaps this code is not correct.
could anybody to say something about it. I would please
thanks
$arr_apps = array_diff(scandir($this->Ini->path_aplicacao . “…/_lib/friendly_url/”), array(’.’,’…’, ‘_lib’));
foreach($arr_apps as $k => $v)
{
$aplicacion = substr($v, 0, -8);
sc_apl_status($aplicacion, ‘on’);
}