Permalink
Browse files

Fixed sample website `index.php`.

  • Loading branch information...
1 parent 9037611 commit 37098bd60169dedf32416b30a86bd56fa280d6eb @ludovicchabant committed May 30, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 website/index.php
View
@@ -1,4 +1,7 @@
<?php
-require '../_piecrust/version_check.php';
-require '../_piecrust/piecrust.php';
+if (PHP_VERSION_ID < 50300)
+{
+ trigger_error("PieCrust requires PHP 5.3+", E_USER_ERROR);
+}
+require '../piecrust.php';
piecrust_run();

0 comments on commit 37098bd

Please sign in to comment.