X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=messages.php;h=53d2d649b47e43b78fd76a2836c8844c56c5ef46;hp=8c66ee2fce17143e6d89d95f1e59e07ae1b654f0;hb=062d46e16429f2e55573567518cb01c83b319ac4;hpb=2d753b1cb86b98e2995476b74f47cb5663670e4d diff --git a/messages.php b/messages.php index 8c66ee2..53d2d64 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__.'/'.'lib/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('code/wfpl/template.php'); +require_once(__DIR__.'/'.'template.php'); # call this to display a message function message($msg) {