diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2018-03-20 16:41:21 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2018-03-20 16:41:21 -0400 |
| commit | 2bef694a6a64c6044292a57029e82a802cd84932 (patch) | |
| tree | 4d990459c686c474d7be3a0e4d8656abafe44afa /source.php | |
| parent | 9505478bb7630100e076cf70888ab99e51555a78 (diff) | |
| download | prosongsa-2bef694a6a64c6044292a57029e82a802cd84932.tar.gz | |
* Prosongsa: Prepare to license
Diffstat (limited to 'source.php')
| -rw-r--r-- | source.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source.php b/source.php new file mode 100644 index 0000000..cbaf9f4 --- /dev/null +++ b/source.php @@ -0,0 +1,13 @@ +<?php + +$files = scandir('.'); + +foreach( $files as $file ){ + if ( strpos($file, '.php') !== FALSE || strpos($file, '.js') !== FALSE ) + { + echo "<h3>$file</h3>"; + echo '<pre>'; + echo htmlspecialchars(file_get_contents($file)); + echo '</pre>'; + } +} |
