- $chk = $full_path;
- $chk[] = $d;
-
- $clp = $class_path;
-
-
-
- //print_r("CHK: " . implode('/', $chk)."\n");
- // is it a file.. and .PHP...
- if (!is_dir(implode('/', $chk))) {
- if (!preg_match('/\.php$/', $d)) {
- continue;
- }
- $clp[] = preg_replace('/\.php$/', '', $d);
-
- //print_r("CLP: " . implode('/', $clp)."\n");
- require_once "Pman/" . implode('/', $clp) . '.php';