diff --git a/includes/CCTM.php b/includes/CCTM.php index 457c1b1..71e2211 100644 --- a/includes/CCTM.php +++ b/includes/CCTM.php @@ -1318,7 +1318,7 @@ public static function get_available_helper_classes($type) { if ( !preg_match('/^\./', $f2) && preg_match('/\.class\.php$/', $f2) ) { $shortname = basename($f2); $shortname = preg_replace('/\.class\.php$/', '', $shortname); - $files[$shortname] = $dir.'/'.$subdir.'/'.$f2; + $files[$shortname] = $dir.'/'.$f.'/'.$f2; } } }