Massive refactor of code into classes, improve security on the image/file upload handler. Clean up the init.php into a config.php and refactor everything else to work around it.

Resolves issues #13 #14 and #16
This commit is contained in:
Andy Dixon
2024-11-12 21:20:46 +00:00
parent 5a02c25074
commit e7373477c5
13 changed files with 581 additions and 242 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ Ready to get started? Just follow these simple steps:
* Drop the CMS folder into your static website.
* Add the uploads folder to your site as well.
* Open /cms/init.php and edit the credentials for any users you want to set up.
* Open /cms/config.php and edit the credentials for any users you want to set up.
* Update the div elements you want to make editable by adding the class editable.
* Visit /cms/, log in, and start editing!
@@ -33,7 +33,7 @@ That’s it! You’re up and running.
## Requirements
* PHP 8 running on a Linux server. (May work on Windows servers, but don't want to stoop to that level)
* PHP 8 running on Linux
## Known Bugs & Issues