X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=messages.php;h=41d4a56c8fc5151a419cfd494aba3929fab14f8e;hp=98ada56c16029afc69cbb2ebfee198c2ab4192fc;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hpb=8e61d658c67b8782612820211862ee0df243891d diff --git a/messages.php b/messages.php index 98ada56..41d4a56 100644 --- a/messages.php +++ b/messages.php @@ -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 section with a # ~message html~ tag in it. @@ -51,7 +51,7 @@ # # -require_once(__DIR__ . '/template.php'); +require_once(__DIR__.'/'.'template.php'); # call this to display a message function message($msg) {