A simple CMS for nerds.
Markus Koch
01a6042468
Add utime => strtotime(<date>) to the $blogentry header to enable the feature for the post. It will still be sorted by ctime, but the post will show the utime with an updated note in the date field instead. |
||
---|---|---|
b | ||
img | ||
p | ||
_index.html | ||
.gitignore | ||
blog.php | ||
control.php | ||
index.php | ||
page.php | ||
README.MD | ||
rss.php | ||
shared.php | ||
style.css | ||
userstyle.css |
[Simpub CMS] - A Simple CMS for Nerds
Directories and Files
-
index.php: Main page, assembles layout and loads sub pages
-
shared.php: Shared functions and global settings
-
blog.php: Blog core (include from page in /p/ to use)
-
page.php: Page core (include from page in /p/ to use)
-
control.php: Admin interface
-
style.css: Main style file
-
userstyle.css: User-defined styles used on content pages
-
/p/: User content (use 404.php as error handler)
-
/b/: User blog posts. Create subdirectory with year, then drop .php blog posts into there
-
/b/img: Again, create subfolder with year, drop images in there
-
/b/pimg: Must be writable by www-data, will contain auto-generated thumbnails
-
/s/: Resources for pages
License
This code is released under the Mozilla Public License Version 2.0.