diff options
Diffstat (limited to 'http/index.php')
-rw-r--r-- | http/index.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/http/index.php b/http/index.php index f5e04d6..5519aa6 100644 --- a/http/index.php +++ b/http/index.php @@ -1,12 +1,14 @@ <?php $basePath = dirname(__FILE__); -$frameworkPath = $basePath . '/../lib/prado/framework/prado.php'; $applicationPath = $basePath . '/../app/php/'; +$libPath = $basePath . '/../lib/'; +$frameworkPath = $libPath . 'prado/framework/prado.php'; require_once($frameworkPath); Prado::setPathOfAlias('Web', $basePath); +Prado::setPathOfAlias('Lib', $libPath); $application = new TApplication($applicationPath); $application->run(); |