diff --git a/CHANGELOG b/CHANGELOG index 7e2636bc0..3b1dc67af 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ THIS CHANGELOG IS AN ATTEMPT TO DOCUMENT CHANGES TO THIS PROJECT. +PL-v0.3.4 + - FIX: Generator class renamed because it's a reserved name in PHP 5.5 + - THX: thanks to @faustgertz for the heads up + PL-v0.3.3 - FIX: links created with {{ link.pattern }} now have the correct path - FIX: links within a pattern now properly update the history diff --git a/builder/builder.php b/builder/builder.php index b5bcabd41..44efda0aa 100644 --- a/builder/builder.php +++ b/builder/builder.php @@ -1,7 +1,7 @@ generate(); print "your site has been generated...\n"; @@ -45,12 +45,12 @@ // initiate the w (watch) switch // iterate over the source directory and generate the site - $g = new Generator(); + $g = new Generatr(); $g->generate(); print "your site has been generated...\n"; // watch the source directory and regenerate any changed files - $w = new Watcher(); + $w = new Watchr(); print "watching your site for changes...\n"; $w->watch(); diff --git a/builder/lib/builder.lib.php b/builder/lib/builder.lib.php index b3968947d..30a33010f 100644 --- a/builder/lib/builder.lib.php +++ b/builder/lib/builder.lib.php @@ -1,7 +1,7 @@ $key = $values; } else { $this->$key = $value; @@ -127,7 +127,7 @@ protected function generateMainPages() { $sd = $this->gatherPartials(); // sort partials by patternLink - usort($sd['partials'], "Builder::sortPartials"); + usort($sd['partials'], "Buildr::sortPartials"); // render the "view all" pages $this->generateViewAllPages(); diff --git a/builder/lib/generator.lib.php b/builder/lib/generator.lib.php index b3874a74e..1772df645 100644 --- a/builder/lib/generator.lib.php +++ b/builder/lib/generator.lib.php @@ -1,7 +1,7 @@