Sfoglia il codice sorgente

Index.php does not include the new .git folder when listing directories

Manuel Gall 1 anno fa
parent
commit
58e12c23cd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -49,7 +49,7 @@ $(document).ready(function() {
   <?php
     $scan = scandir('./');
     foreach($scan as $file) {
-      if (is_dir("./$file") && $file != '.' && $file != '..' && $file != 'styles') {
+      if (is_dir("./$file") && $file != '.' && $file != '..' && $file != 'styles' && $file != '.git') {
         ?>
         <a href="https://centurio.evva.com/services/frames_support/<?php echo $file;?>/config.html">
           <h1><?php echo ucfirst($file);?>:</h1>