Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from stonehippo/master

Added a default folder name argument to print_html()
  • Loading branch information...
commit ee27f719389fb02849895e7ad64c7ece3bb4b5e7 2 parents 068e322 + fb8a7d5
@lukebrooker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.php
View
2  index.php
@@ -145,7 +145,7 @@
echo '</div>';
-function print_html($folder, $file, $file_path, $folder_name) {
+function print_html($folder, $file, $file_path, $folder_name = null) {
$file_id = strtolower(remove_chars($file_path['filename']));
$file_contents = file_get_contents($file);
$css_file = $folder . '/' . $file_path['filename'] . '.css';
Please sign in to comment.
Something went wrong with that request. Please try again.