blob: 70a41e2dd80ac2509f97c8c3d1e132c4dea63aa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff --git a/www/index.php b/www/index.php
index a1aebf5..c4229ec 100644
--- a/www/index.php
+++ b/www/index.php
@@ -21,8 +21,8 @@
#
# ***** END LICENSE BLOCK ***** */
-require dirname(__FILE__).'/../src/IDF/conf/path.php';
+require dirname(__FILE__).'/src/IDF/conf/path.php';
require 'Pluf.php';
-Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php');
+Pluf::start(dirname(__FILE__).'/src/IDF/conf/idf.php');
Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));
Pluf_Dispatcher::dispatch(Pluf_HTTP_URL::getAction());
diff --git a/src/IDF/conf/path.php-dist b/src/IDF/conf/path.php-dist
index d8c90ca..9c566e4 100644
--- a/src/IDF/conf/path.php-dist
+++ b/src/IDF/conf/path.php-dist
@@ -29,7 +29,7 @@
* PLUF_PATH: path to the folder containing the Pluf.php file.
* IDF_PATH: path to the folder containing the IDF folder.
*/
-define('PLUF_PATH', dirname(__FILE__).'/../../../../pluf/src');
+define('PLUF_PATH', '/usr/share/php/pluf/');
define('IDF_PATH', dirname(__FILE__).'/../..');
set_include_path(get_include_path()
|