Oliver Davies
9b1a8fb3be
- Rename `opd_talks` to `opdavies_talks` - Rename `custom` to `opdavies_blog`
19 lines
273 B
Plaintext
19 lines
273 B
Plaintext
<?php
|
|
|
|
/**
|
|
* @file
|
|
* Custom module.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symfony\Component\Finder\Finder;
|
|
|
|
$finder = Finder::create()
|
|
->in(__DIR__ . DIRECTORY_SEPARATOR . 'hooks')
|
|
->name('/.[php|inc]$/');
|
|
|
|
foreach ($finder as $file) {
|
|
include $file->getPathname();
|
|
}
|