summaryrefslogtreecommitdiff
path: root/demos/personal/protected/application.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/personal/protected/application.php')
-rw-r--r--demos/personal/protected/application.php44
1 files changed, 44 insertions, 0 deletions
diff --git a/demos/personal/protected/application.php b/demos/personal/protected/application.php
new file mode 100644
index 00000000..11ad1ef8
--- /dev/null
+++ b/demos/personal/protected/application.php
@@ -0,0 +1,44 @@
+<?php
+return array(
+ 'application' => array(
+ 'id' => 'personal',
+ 'mode' => 'Debug',
+ ),
+ 'paths' => array(
+ 'using'=>array('Application.common.*'),
+ 'aliases'=>array(
+ 'myapp' => '/Users/carlgmathisen/Sites/prado3/branch3.2/demos/personal/protected',
+ )
+ ),
+ '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)',
+ )
+); \ No newline at end of file