diff options
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';
|