summaryrefslogtreecommitdiff
path: root/demos/personal/index.php
diff options
context:
space:
mode:
authorxue <>2005-12-27 04:11:43 +0000
committerxue <>2005-12-27 04:11:43 +0000
commita79a69ca2e9f1818c0c4c276fd4857e4f849ab80 (patch)
tree41bf94449bf57bebc934aa7871b7691522bc6846 /demos/personal/index.php
parente62f17f80a7cfd6f89f74fe6f2062850f54d1477 (diff)
Introduced application base path concept.
Diffstat (limited to 'demos/personal/index.php')
-rw-r--r--demos/personal/index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/personal/index.php b/demos/personal/index.php
index 174f5d33..04695b16 100644
--- a/demos/personal/index.php
+++ b/demos/personal/index.php
@@ -2,7 +2,6 @@
$basePath=dirname(__FILE__);
$frameworkPath=$basePath.'/../../framework/prado.php';
-$configPath=$basePath.'/protected/application.xml';
$assetsPath=$basePath.'/assets';
if(!is_writable($assetsPath))
@@ -10,7 +9,7 @@ if(!is_writable($assetsPath))
require_once($frameworkPath);
-$application=new TApplication($configPath,true);
+$application=new TApplication;
$application->run();
?> \ No newline at end of file