mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-05-07 20:32:26 +00:00
13 lines
352 B
PHP
13 lines
352 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
$extensions = array_diff(scandir(__DIR__), ['..', '.', '.gitkeep', 'autoload.php', '.DS_Store']);
|
|
|
|
foreach ($extensions as $extension) {
|
|
$path = __DIR__.DIRECTORY_SEPARATOR.$extension.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php';
|
|
if (file_exists($path)) {
|
|
require_once $path;
|
|
}
|
|
}
|