Mecha CMS

Helper functions.

d

Class auto-loader with callback feature.

2.0.0

d(string $folder, callable $fn);

Example:

d('.\path\to\folder', function($ClassName, $name) {
    echo 'Class <code>' . $ClassName '</code> was loaded.';
    echo "Path: <code>.\\path\\to\\folder\\" . $name . '.php';
});