summaryrefslogtreecommitdiff
path: root/demos/personal/protected/application.php
blob: 26100576603a7c7b83700bdc25774fca1b14ec08 (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
<?php
return array(
	'application' => array(
		'id' => 'personal',
		'mode' => 'Debug',
	),
	'paths' => array(
		'using'=>array('Application.Common.*'),
	),
	'modules' => array(	
	),
	'services' => array(
		'page' => array(
			'class' => 'TPageService',
			'properties' => array(
				'basePath' => 'Application.Pages',
			),
			'modules' => array(
				'users' => array(
					'class' => 'System.Security.TUserManager',
					'properties' => array(
						'passwordMode' => 'Clear',
					),
					'users' => array(
						array('name'=>'demo','password'=>'demo'),
					),
				), // users
				'auth' => array(
					'class' => 'System.Security.TAuthManager',
					'properties' => array(
						'userManager' => 'users',
						'loginPage' => 'UserLogin',
					),
				),
			),
		),
	),
	'parameters' => array(
		'siteName' => 'My Personal Site (PHP Config)',
	)
);