summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/application.php
blob: 4fd65d0469c988518ad9978c99b2da11bb335c79 (plain)
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
<?php
return array(
	'application' => array(
		'id'=>'Time-Tracker',
		'Mode'=>'Debug'
	),
	'paths' => array(
		'aliases' => array(
			'Quickstart' => '../../quickstart',
		),
		'using' => array(
			'System.Data.*',
			'System.Security.*',
			'Application.App_Code.*',
			'Application.App_Code.Dao.*',
			'Application.App_Data.*',
		),
	),
	'modules' => array(
		'daos' => array(
			'class' => 'DaoManager',
			'properties' => array(
				'EnableCache' => 'true',
				'configFile' => 'Application.App_Data.sqlite-sqlmap',
			),
			'daos' => array(
				'UserDao' => 'Application.App_Code.Dao.UserDao',
				'ProjectDao' => 'Application.App_Code.Dao.ProjectDao',
				'TimeEntryDao' => 'Application.App_Code.Dao.TimeEntryDao',
				'CategoryDao' => 'Application.App_Code.Dao.CategoryDao',
				'ReportDao' => 'Application.App_Code.Dao.ReportDao',
			)
		),
		'globalization' => array(
			'class' => 'System.I18N.TGlobalization',
			'properties' => array(
				'CharSet' => 'UTF-8',
			),
		),
	),
	'services' => array(
		'page' => array(
			'class' => 'TPageService',
			'properties' => array(
				'DefaultPage' => 'TimeTracker.LogTimeEntry',
			),
		),
	),
);