Display .sql files only.
This commit is contained in:
@@ -111,7 +111,7 @@ echo "\n";
|
||||
if ($cfg['UploadDir'] != '' && $handle = @opendir($cfg['UploadDir'])) {
|
||||
$is_first = 0;
|
||||
while ($file = @readdir($handle)) {
|
||||
if (is_file($cfg['UploadDir'] . $file)) {
|
||||
if (is_file($cfg['UploadDir'] . $file) && substr($file, -4) == '.sql') {
|
||||
if ($is_first == 0) {
|
||||
echo "\n";
|
||||
echo ' <i>' . $strOr . '</i> ' . $strWebServerUploadDirectory . ' :<br />' . "\n";
|
||||
|
Reference in New Issue
Block a user