-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.template.php
36 lines (27 loc) · 1.38 KB
/
config.template.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
require __DIR__.DIRECTORY_SEPARATOR.'changelog.php';
$conf['version'] = $data[0]['version'];
$conf['psc-cms']['version'] = '0.2';
// displayed in header of cms
$conf['project']['title'] = 'Psc - CMS - %package.title% ['.($project->isStaging() ? 'staging' : 'live').']';
$conf['db']['default']['host'] = '127.0.0.1';
$conf['db']['default']['user'] = $project->getLowerName();
$conf['db']['default']['password'] = '%db.password%';
$conf['db']['default']['database'] = $project->isStaging() ? $project->getLowerName().'_staging' : $project->getLowerName();
$conf['db']['default']['port'] = NULL;
$conf['db']['default']['charset'] = 'utf8';
$conf['db']['tests'] = $conf['db']['default'];
$conf['db']['tests']['database'] = $project->getLowerName().'_tests';
// the order is relevant: the first is the default language
$conf['languages'] = array('%defaultLanguage%');
// lowercasename => CamelCaseName
$conf['doctrine']['entities']['names'] = array(
'contentstream'=>'ContentStream',
'navigationnode'=>'NavigationNode',
'newsentry'=>'NewsEntry',
'calendarevent'=>'CalendarEvent'
);
// full FQN to custom Type
$conf['doctrine']['types'] = array();
//require 'inc.testCreater.config.php';
?>