forked from unixabg/live-medium-install-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscripts.php
More file actions
35 lines (32 loc) · 643 Bytes
/
Copy pathscripts.php
File metadata and controls
35 lines (32 loc) · 643 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
include "header.php";
?>
<body>
<div id="conholder">
<div id="maincon">
<h1 class="texth1">Live-Medium-Install Related Scripts</h1>
<h4 class="texth4">
<ul>
<?php
// core scripts
$files = scandir( "./scripts/" );
foreach( $files as $file ){
if ($file != '.' && $file != '..' ) {
echo "<li> <a href=\"./scripts/" . $file . "\">" . $file . "</a></li>";
}
}
// examples
$files = scandir( "./examples/" );
foreach( $files as $file ){
if ($file != '.' && $file != '..' ) {
echo "<li> <a href=\"./examples/" . $file . "\">" . $file . "</a></li>";
}
}
?>
</ul>
</h4>
</div>
</div>
<?php
include "footer.php";
?>