7 lines
180 B
PHP
7 lines
180 B
PHP
<?php
|
|
|
|
foreach(scandir(__DIR__) as $filename) {
|
|
if ($filename == "." || $filename == "..") continue;
|
|
if (str_ends_with($filename, ".action.php")) include __DIR__."/$filename";
|
|
}
|