Read my signature, you read why I don't release it.
Printable View
This seems nice and fast but it should have features like account recovery and the new registration page, that would make it more uniqe.
Nice release Leon :)
No problemmo, if you have any suggestions, please let me know.
Your Mango/Application file could be shortened.. Not sure why every config variable is a stdclass
Another thing is that you could've used glob instead of typing out every include.Code:private function loadConfig() {
foreach(glob('Config/*.php') as $File) {
include $File;
}
$this->config = new stdClass;
$this->routes = $routes;
foreach($config as $key => $value) {
$this->config->$key = null;
foreach($config[$key] as $lk => $lv) {
$this->config->$key->$lk = $lv;
}
}
}
Usually in MVC, anything that isn't php goes into the public folder or another appropriate folder... Just a heads up!
Dont know, but why do i get if i put it all in my public map im getting no index.php...
How can i set it for Apache, even when i go to http://localhost/public/ i get:
Im using phoenix database and with your SQL file you dont get site_config table...Code:Fatal error: Uncaught [42S02] - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nova.site_config' doesn't exist thrown in C:\xampp\htdocs\application\external\redbean.php on line 696
The GitHub has been updated, sorry about that. And to set it up with Apache, just find your apache.conf (or similar) and change the Document Root to include the public directory.
Due to some requests, I've added the .htaccess for Apache configurations.
Really nice CMS man, thanks for the contribution :)!
Fatal error: Uncaught [42S22] - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'where clause' thrown in C:\xampp\htdocs\application\external\redbean.php on line 696
PDO is very nice, should been used by alot of users :).