-
Notifications
You must be signed in to change notification settings - Fork 0
/
recess-conf.php
executable file
·55 lines (46 loc) · 1.79 KB
/
recess-conf.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php if(isset($bootstrapped)) unset($bootstrapped); else exit;
/*
* Welcome to the Recess PHP Framework. Let's have some fun!
*
* For tutorials, documentation, bug reports, feature suggestions:
* http://www.recessframework.org/
*
* Join the Recess developer community:
* + IRC: irc.freenode.net #recess
* + Mailing List: http://groups.google.com/group/recess-framework
* + Github: http://github.com/recess/recess/
* + Forum: http://www.recessframework.org/
* + Twitter: http://twitter.com/RecessFramework
*
* Enjoy! -Kris (http://twitter.com/KrisJordan)
*/
// RecessConf::DEVELOPMENT or RecessConf::PRODUCTION
RecessConf::$mode = RecessConf::DEVELOPMENT;
RecessConf::$applications
= array( 'recess.apps.tools.RecessToolsApplication',
'welcome.WelcomeApplication',
'degree.DegreeApplication',
);
RecessConf::$defaultTimeZone = 'America/New_York';
RecessConf::$defaultDatabase
= array( //'sqlite:' . $_ENV['dir.bootstrap'] . 'data/sqlite/default.db'
'mysql:host=localhost;dbname=degree', 'degree', '1qaz2wsx'
);
RecessConf::$namedDatabases
= array( // 'nameFoo' => array('sqlite:' . $_ENV['dir.bootstrap'] . 'data/sqlite/default.db')
// 'nameBar' => array('mysql:host=localhost;dbname=recess', 'username', 'password')
);
// Paths to the recess, plugins, and apps directories
RecessConf::$recessDir = $_ENV['dir.bootstrap'] . 'recess/';
RecessConf::$pluginsDir = $_ENV['dir.bootstrap'] . 'plugins/';
RecessConf::$appsDir = $_ENV['dir.bootstrap'] . 'apps/';
RecessConf::$dataDir = $_ENV['dir.bootstrap'] . 'data/';
// Cache providers are only enabled during DEPLOYMENT mode.
// Always use at least the Sqlite cache.
RecessConf::$cacheProviders
= array(
// 'Apc',
// 'Memcache',
'Sqlite',
);
?>