Commit Graph

4 Commits

Author SHA1 Message Date
Bharat Mediratta
f3ba69c1d6 Make sure that helper functions are all static. Add new
File_Structure_Test to make sure we don't regress.

According to the PHP docs, the "public" keyword is implied on static
functions, so remove it.  Also, require private static functions to
start with an _.

http://php.net/manual/en/language.oop5.visibility.php
2009-01-14 04:12:02 +00:00
Bharat Mediratta
5f14623a47 Only show site status to admins 2008-12-30 04:13:03 +00:00
Bharat Mediratta
26417f6dd4 Replace __CSRF__ token with a real csrf. This allows links in site status messages to persiste across sessions. 2008-12-29 21:27:46 +00:00
Bharat Mediratta
b46bfdd492 Separate permanent messages out of the message helper and put them
into site_status.  Show site status in the header in the admin theme.
2008-12-29 00:35:31 +00:00