summaryrefslogtreecommitdiff
path: root/http/index.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-29 11:24:11 +0200
committeremkael <emkael@tlen.pl>2016-04-29 11:24:11 +0200
commit7a2a894fab8414200b53da9d2d6959c80271cad8 (patch)
tree9d0d222dcb580b8d2fc981a55f7bbf58dd19469d /http/index.php
parent7a728e107ca20c98cacea406ab555d3d12605caf (diff)
* JS libraries as control dependencies
Diffstat (limited to 'http/index.php')
-rw-r--r--http/index.php4
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();