diff options
author | emkael <emkael@tlen.pl> | 2016-04-29 11:24:11 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-04-29 11:24:11 +0200 |
commit | 7a2a894fab8414200b53da9d2d6959c80271cad8 (patch) | |
tree | 9d0d222dcb580b8d2fc981a55f7bbf58dd19469d /http/index.php | |
parent | 7a728e107ca20c98cacea406ab555d3d12605caf (diff) |
* JS libraries as control dependencies
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(); |