Modification du configuration.php pour ne lister que les .conf et pas les autre fichiers dans les indexes
This commit is contained in:
parent
215c193982
commit
e041f54842
@ -23,7 +23,8 @@ Class configure
|
||||
$i = 1;
|
||||
|
||||
while($file = readdir($dir)) {
|
||||
if($file != '.' and $file != '..') {
|
||||
$extension = explode('.', $file);
|
||||
if($file != '.' and $file != '..' and $extension[1] == 'conf') {
|
||||
echo "\t\t".'['.$i.'] '. $file."\n";
|
||||
$this->indexes[$i] = $file;$i++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user