From 439b0b12dc8f6cbeb769fe4f2c0061ff9d3c9d31 Mon Sep 17 00:00:00 2001 From: carlgmathisen <> Date: Tue, 2 Dec 2008 00:02:51 +0000 Subject: php configuration type --- demos/address-book/protected/application.php | 57 ++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 demos/address-book/protected/application.php (limited to 'demos/address-book/protected/application.php') diff --git a/demos/address-book/protected/application.php b/demos/address-book/protected/application.php new file mode 100644 index 00000000..1a95e46e --- /dev/null +++ b/demos/address-book/protected/application.php @@ -0,0 +1,57 @@ + array( + 'id' => 'address-book', + 'mode' => 'Debug', + ), + 'paths' => array( + 'using'=>array( + 'System.Data.*', + 'System.Security.*', + 'System.Data.ActiveRecord.*', + 'System.Web.Services.*', + ), + 'aliases'=>array( + 'myapp' => '/Users/carlgmathisen/Sites/prado3/branch3.2/demos/personal/protected', + ) + ), + 'modules' => array( + 'sqlite-db' => array( + 'class' => 'TActiveRecordConfig', + 'database' => array( + 'ConnectionString' => 'sqlite:./protected/pages/sqlite.db', + ), + ), + 'users' => array( + 'class' => 'TUserManager', + 'properties' => array( + 'PasswordMode' => 'Clear', + ), + 'users' => array( + array( + 'name'=>'demo', + 'password'=>'demo' + ), + ), + ), + 'auth' => array( + 'class' => 'System.Security.TAuthManager', + 'properties' => array( + 'userManager' => 'users', + 'loginPage' => 'Login', + ), + ), + ), + 'services' => array( + 'soap' => array( + 'class' => 'TSoapService', + 'address-book' => array( + 'properties' => array( + 'provider' => 'Application.pages.AddressProvider', + 'ClassMaps' => 'AddressRecord', + ), + ), + ), + ), +); \ No newline at end of file -- cgit v1.2.3 From e8f239fea7351b248302a593a8e5eaa2a88c3e80 Mon Sep 17 00:00:00 2001 From: carlgmathisen <> Date: Tue, 2 Dec 2008 10:50:57 +0000 Subject: paths --- demos/address-book/protected/application.php | 3 --- demos/personal/protected/application.php | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'demos/address-book/protected/application.php') diff --git a/demos/address-book/protected/application.php b/demos/address-book/protected/application.php index 1a95e46e..ace63d2d 100644 --- a/demos/address-book/protected/application.php +++ b/demos/address-book/protected/application.php @@ -11,9 +11,6 @@ return array( 'System.Security.*', 'System.Data.ActiveRecord.*', 'System.Web.Services.*', - ), - 'aliases'=>array( - 'myapp' => '/Users/carlgmathisen/Sites/prado3/branch3.2/demos/personal/protected', ) ), 'modules' => array( diff --git a/demos/personal/protected/application.php b/demos/personal/protected/application.php index 11ad1ef8..0d9cadd4 100644 --- a/demos/personal/protected/application.php +++ b/demos/personal/protected/application.php @@ -5,10 +5,7 @@ return array( 'mode' => 'Debug', ), 'paths' => array( - 'using'=>array('Application.common.*'), - 'aliases'=>array( - 'myapp' => '/Users/carlgmathisen/Sites/prado3/branch3.2/demos/personal/protected', - ) + 'using'=>array('Application.common.*'), ), 'modules' => array( ), -- cgit v1.2.3