mirror of
https://github.com/PhantomGamesDevelopment/PGD-Connect--Tribes-2-.git
synced 2026-07-16 08:44:40 +00:00
17 lines
No EOL
393 B
PHP
17 lines
No EOL
393 B
PHP
<?php
|
|
$count = 0;
|
|
$dir = "/home/phantom7/public_html/public/Univ/twm2/patches/";
|
|
if (is_dir($dir)) {
|
|
if ($dh = opendir($dir)) {
|
|
while (($file = readdir($dh)) !== false) {
|
|
$count++;
|
|
$filed[$count] = $file;
|
|
}
|
|
closedir($dh);
|
|
}
|
|
}
|
|
//
|
|
for($i = 1; $i <= $count; $i++) {
|
|
echo "$filed[$i]\n";
|
|
}
|
|
?>
|