diff options
Diffstat (limited to 'demos/blog-tutorial/samples/day2/blog/protected')
3 files changed, 5 insertions, 7 deletions
diff --git a/demos/blog-tutorial/samples/day2/blog/protected/application.xml b/demos/blog-tutorial/samples/day2/blog/protected/application.xml index 69cdbf9f..503b625a 100644 --- a/demos/blog-tutorial/samples/day2/blog/protected/application.xml +++ b/demos/blog-tutorial/samples/day2/blog/protected/application.xml @@ -1,12 +1,9 @@ <?xml version="1.0" encoding="utf-8"?>
<application id="blog" mode="Debug">
- <!-- alias definitions and namespace usings
<paths>
- <alias id="myalias" path="./lib" />
- <using namespace="Application.common.*" />
+ <using namespace="Application.database.*" />
</paths>
- -->
<!-- configurations for modules -->
<modules>
@@ -23,9 +20,10 @@ <route class="TBrowserLogRoute" Categories="System" />
</module>
-->
- <module id="data" class="System.Data.ActiveRecord.TActiveRecordConfig">
+ <module id="db" class="System.Data.TDataSourceConfig">
<database ConnectionString="sqlite:protected/data/blog.db" />
</module>
+ <module class="System.Data.ActiveRecord.TActiveRecordConfig" ConnectionID="db" />
</modules>
<!-- configuration for available services -->
diff --git a/demos/blog-tutorial/samples/day2/blog/protected/database/PostRecord.php b/demos/blog-tutorial/samples/day2/blog/protected/database/PostRecord.php index a9fb5db3..31451b30 100644 --- a/demos/blog-tutorial/samples/day2/blog/protected/database/PostRecord.php +++ b/demos/blog-tutorial/samples/day2/blog/protected/database/PostRecord.php @@ -1,6 +1,6 @@ <?php
/**
- * Auto generated by prado-cli.php on 2007-04-05 10:25:19.
+ * Auto generated by prado-cli.php on 2007-04-06 08:42:12.
*/
class PostRecord extends TActiveRecord
{
diff --git a/demos/blog-tutorial/samples/day2/blog/protected/database/UserRecord.php b/demos/blog-tutorial/samples/day2/blog/protected/database/UserRecord.php index 5f2be169..2f657cd8 100644 --- a/demos/blog-tutorial/samples/day2/blog/protected/database/UserRecord.php +++ b/demos/blog-tutorial/samples/day2/blog/protected/database/UserRecord.php @@ -1,6 +1,6 @@ <?php
/**
- * Auto generated by prado-cli.php on 2007-04-05 10:23:57.
+ * Auto generated by prado-cli.php on 2007-04-06 08:42:08.
*/
class UserRecord extends TActiveRecord
{
|