Improved the documentation based on user feedback.

This commit is contained in:
Loic d'Anterroches
2008-11-26 21:34:47 +01:00
parent 28b650f841
commit 1332ba7eda
3 changed files with 139 additions and 78 deletions

View File

@@ -22,7 +22,12 @@
# ***** END LICENSE BLOCK ***** */
// Set the include path to have Pluf and IDF in it.
set_include_path(get_include_path().PATH_SEPARATOR.dirname(__FILE__).'/../src');
$indefero_path = dirname(__FILE__).'/../src';
//$pluf_path = '/path/to/pluf/src';
set_include_path(get_include_path()
.PATH_SEPARATOR.$indefero_path
// .PATH_SEPARATOR.$pluf_path
);
require 'Pluf.php';
Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php');
Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));