Skip to content

Commit

Permalink
retrait de la visibilitée des fichier, uniquement les dossier
Browse files Browse the repository at this point in the history
  • Loading branch information
Natouille04 committed Oct 8, 2024
1 parent 1cd8187 commit 100b1f2
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/Projets.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Project.PHP
# Projet.PHP
Une petite interface utilisateur pour gérer vos projets PHP

### Installation :
Expand Down
6 changes: 3 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@

<?php
$scandir = scandir("project");
foreach($scandir as $fichier){
if($fichier !== '.' && $fichier !== '..') {
foreach ($scandir as $fichier) {
if ($fichier !== '.' && $fichier !== '..' && is_dir("project/$fichier")) {
echo "<div class='project'>";
echo "<div><h2>$fichier</h2></div>";
echo "<div class='button'><a href='project/$fichier'>Acceder</a></div>";
echo "</div>";
}
}
?>

</div>
</main>

Expand Down

0 comments on commit 100b1f2

Please sign in to comment.