keshav_jha / bloged
There is no license information available for the latest version (v1.0.2) of this package.
Simple MVC PHP framework
v1.0.2
2022-06-25 06:19 UTC
Requires
- gabordemooij/redbean: ~5.7.1
- symfony/http-foundation: ~4.4
- symfony/routing: ~4.4
This package is auto-updated.
Last update: 2024-11-08 17:55:34 UTC
README
#Configure the framework by the following
//site name define('SITE_NAME', 'site_name'); //change this
//App Root define('APP_ROOT', dirname(dirname(FILE))); define('URL_ROOT', '/'); define('URL_SUBFOLDER', ''); define('BASE', 'http://host/'); //change this
$host = "host"; //change this $username = "user"; //change this $password = "password"; //change this $database = "db_name"; //change this R::setup("mysql:host=$host;dbname=$database", $username, $password); R::freeze( TRUE );