summaryrefslogtreecommitdiff
path: root/demos/chat/protected/application.php
diff options
context:
space:
mode:
authorcarlgmathisen <>2008-12-07 13:05:05 +0000
committercarlgmathisen <>2008-12-07 13:05:05 +0000
commit736e92efbc75908a2bf26fe333a03990e3bb8100 (patch)
tree21dfe413b2f3f52704ca28e17f22269f9cfdb5ea /demos/chat/protected/application.php
parent6228873cf9d6471463d2413e7dfd7447f759baf2 (diff)
work on php style configuration
Diffstat (limited to 'demos/chat/protected/application.php')
-rw-r--r--demos/chat/protected/application.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/chat/protected/application.php b/demos/chat/protected/application.php
new file mode 100644
index 00000000..ae4e1d8c
--- /dev/null
+++ b/demos/chat/protected/application.php
@@ -0,0 +1,25 @@
+<?php
+return array(
+ 'application' => array(
+ 'id' => 'Chat',
+ 'mode' => 'Debug'
+ ),
+ 'paths' => array(
+ 'using'=>array(
+ 'Application.App_Code.*',
+ 'System.Data.*',
+ 'System.Data.ActiveRecord.*',
+ 'System.Security.*',
+ 'System.Web.UI.ActiveControls.*',
+ ),
+ ),
+ 'modules' => array(
+ 'db' => array(
+ 'class' => 'TActiveRecordConfig',
+ 'properties' => array(
+ 'EnableCache' => 'true',
+ 'Database.ConnectionString'=>"sqlite:protected/App_Code/chat.db",
+ )
+ ),
+ ),
+); \ No newline at end of file