summaryrefslogtreecommitdiff
path: root/demos/blog/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog/index.php')
-rw-r--r--demos/blog/index.php40
1 files changed, 20 insertions, 20 deletions
diff --git a/demos/blog/index.php b/demos/blog/index.php
index 6bec1512..269b67ed 100644
--- a/demos/blog/index.php
+++ b/demos/blog/index.php
@@ -1,21 +1,21 @@
-<?php
-
-$basePath=dirname(__FILE__);
-$frameworkPath=$basePath.'/../../framework/prado.php';
-$assetsPath=$basePath.'/assets';
-$runtimePath=$basePath.'/protected/runtime';
-$dataPath=$basePath.'/protected/Data';
-
-if(!is_writable($assetsPath))
- die("Please make sure that the directory $assetsPath is writable by Web server process.");
-if(!is_writable($runtimePath))
- die("Please make sure that the directory $runtimePath is writable by Web server process.");
-if(!is_writable($dataPath))
- die("Please make sure that the directory $dataPath is writable by Web server process.");
-
-require_once($frameworkPath);
-
-$application=new TApplication;
-$application->run();
-
+<?php
+
+$basePath=dirname(__FILE__);
+$frameworkPath=$basePath.'/../../framework/prado.php';
+$assetsPath=$basePath.'/assets';
+$runtimePath=$basePath.'/protected/runtime';
+$dataPath=$basePath.'/protected/Data';
+
+if(!is_writable($assetsPath))
+ die("Please make sure that the directory $assetsPath is writable by Web server process.");
+if(!is_writable($runtimePath))
+ die("Please make sure that the directory $runtimePath is writable by Web server process.");
+if(!is_writable($dataPath))
+ die("Please make sure that the directory $dataPath is writable by Web server process.");
+
+require_once($frameworkPath);
+
+$application=new TApplication;
+$application->run();
+
?> \ No newline at end of file