10 lines
228 B
PHP
10 lines
228 B
PHP
<?php
|
|
$folder = implode(DIRECTORY_SEPARATOR, [__DIR__, 'ventas']);
|
|
$files = new FilesystemIterator($folder);
|
|
foreach ($files as $file) {
|
|
if ($file->isDir()) {
|
|
continue;
|
|
}
|
|
include_once $file->getRealPath();
|
|
}
|