Move configuration to a configuration file
parent
71d154991d
commit
a348557e7c
@ -0,0 +1,30 @@
|
||||
{
|
||||
"database": {
|
||||
"driver": "mysql",
|
||||
"hostname": "localhost",
|
||||
"username": "root",
|
||||
"password": "",
|
||||
"database": "team"
|
||||
},
|
||||
"locale": {
|
||||
"default_locale": "english",
|
||||
"default_timezone": "Europe/Amsterdam"
|
||||
},
|
||||
"memcache": {
|
||||
"enabled": true,
|
||||
"compressed": true,
|
||||
"hostname": "localhost",
|
||||
"port": 11211
|
||||
},
|
||||
"class_map": {
|
||||
"user": "User",
|
||||
"interestgroup": "InterestGroup",
|
||||
"project": "Project",
|
||||
"repository": "Repository",
|
||||
"ticket": "Ticket"
|
||||
},
|
||||
"components": [
|
||||
"router",
|
||||
"errorhandler"
|
||||
]
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
$_CPHP = true;
|
||||
$_CPHP_CONFIG = "../config.json";
|
||||
require("cphp/base.php");
|
||||
?>
|
||||
|
Loading…
Reference in New Issue