X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=messages.php;h=a762e5ed7429270e393d63e4b752b08f0f16ac4d;hp=98ada56c16029afc69cbb2ebfee198c2ab4192fc;hb=6be2bf0ba344177f0d1e57d9135bcb97579c54a3;hpb=571c58fff7b139f590b5c4862761092bc1045436 diff --git a/messages.php b/messages.php index 98ada56..a762e5e 100644 --- a/messages.php +++ b/messages.php @@ -1,19 +1,9 @@ . +# This program is in the public domain within the United States. Additionally, +# we waive copyright and related rights in the work worldwide through the CC0 +# 1.0 Universal public domain dedication, which can be found at +# http://creativecommons.org/publicdomain/zero/1.0/ # This file is useful for putting message box(es) on the screen. If you include @@ -27,7 +17,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 +41,7 @@ # # -require_once(__DIR__ . '/template.php'); +require_once(__DIR__.'/'.'template.php'); # call this to display a message function message($msg) {