Browse Source

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

Manuel Gall 2 years ago
parent
commit
58e12c23cd
1 changed files with 1 additions and 1 deletions
  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>