JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix require_once() paths
[wfpl.git] / messages.php
index 98ada56..41d4a56 100644 (file)
@@ -27,7 +27,7 @@
 # display_messages() for you automaticallly after your main function returns
 # (so long as you require_once this file.) If you want these messages to
 # persist accross browser redirects, then you should
-# require_once("code/wfpl/session_messages.php")
+# require_once(__DIR__.'/'.'code/wfpl/session_messages.php')
 #
 # Just make sure your template has a <!--~$messages {~--> section with a
 # ~message html~ tag in it.
@@ -51,7 +51,7 @@
 #       </div>
 #    <!--~}~-->
 
-require_once(__DIR__ . '/template.php');
+require_once(__DIR__.'/'.'template.php');
 
 # call this to display a message
 function message($msg) {