Hey all,
i have the code what (should) say to include from every directory in 'plugins' the file type admin.php.
But it doesn't work..
any1 a tip for me?
code:
$files = glob("plugins/*.*");
for ($i=0; $i<count($files); $i++) {
$num = $files[$i]."/admin.php";
include ($num);
}