diff options
author | xue <> | 2007-04-09 15:58:19 +0000 |
---|---|---|
committer | xue <> | 2007-04-09 15:58:19 +0000 |
commit | 4930d9822e4199a1beb658087038c6640ee4c7f5 (patch) | |
tree | 4353f1ea2730749cec6d24154e048e5742e26f7d /demos | |
parent | d65f7e9ff24ebf916b998d21d4aa994e09962bb9 (diff) |
Fixed framework paths for blog tutorial.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/blog-tutorial/samples/day1/blog/index.php | 3 | ||||
-rw-r--r-- | demos/blog-tutorial/samples/day2/blog/index.php | 3 | ||||
-rw-r--r-- | demos/blog-tutorial/samples/day3/blog/index.php | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/demos/blog-tutorial/samples/day1/blog/index.php b/demos/blog-tutorial/samples/day1/blog/index.php index 8132899e..7ccffe49 100644 --- a/demos/blog-tutorial/samples/day1/blog/index.php +++ b/demos/blog-tutorial/samples/day1/blog/index.php @@ -1,9 +1,8 @@ <?php
-$frameworkPath='D:\wwwroot\prado3\framework\prado.php';
-
// The following directory checks may be removed if performance is required
$basePath=dirname(__FILE__);
+$frameworkPath=$basePath.'/../../../../../framework/prado.php';
$assetsPath=$basePath.'/assets';
$runtimePath=$basePath.'/protected/runtime';
diff --git a/demos/blog-tutorial/samples/day2/blog/index.php b/demos/blog-tutorial/samples/day2/blog/index.php index 8132899e..7ccffe49 100644 --- a/demos/blog-tutorial/samples/day2/blog/index.php +++ b/demos/blog-tutorial/samples/day2/blog/index.php @@ -1,9 +1,8 @@ <?php
-$frameworkPath='D:\wwwroot\prado3\framework\prado.php';
-
// The following directory checks may be removed if performance is required
$basePath=dirname(__FILE__);
+$frameworkPath=$basePath.'/../../../../../framework/prado.php';
$assetsPath=$basePath.'/assets';
$runtimePath=$basePath.'/protected/runtime';
diff --git a/demos/blog-tutorial/samples/day3/blog/index.php b/demos/blog-tutorial/samples/day3/blog/index.php index 8132899e..7ccffe49 100644 --- a/demos/blog-tutorial/samples/day3/blog/index.php +++ b/demos/blog-tutorial/samples/day3/blog/index.php @@ -1,9 +1,8 @@ <?php
-$frameworkPath='D:\wwwroot\prado3\framework\prado.php';
-
// The following directory checks may be removed if performance is required
$basePath=dirname(__FILE__);
+$frameworkPath=$basePath.'/../../../../../framework/prado.php';
$assetsPath=$basePath.'/assets';
$runtimePath=$basePath.'/protected/runtime';
|