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:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/*
|
||||
* Authentication stores the usernames and passwords for people to be able to use the CMS.
|
||||
* This will be used as well to write to the audit log once it has been implemented in code.
|
||||
*/
|
||||
|
||||
$config = [
|
||||
'authentication' => [
|
||||
// Add more users as needed - its 'username'=>'password' if you hadn't have guessed
|
||||
'admin' => 'password123',
|
||||
],
|
||||
// Enable the auditing system
|
||||
'audit' => true,
|
||||
// Set to true if you do not want to see the welcome page and want to go straight to your site
|
||||
'skipWelcomePage' => false,
|
||||
// Show full URL of the page being edited on the control bar
|
||||
'showFullUrl' => true
|
||||
];
|
||||
Reference in New Issue
Block a user