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()