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