]> git.llucax.com Git - software/bife/bife-all.git/blobdiff - examples/index.php
No big changes, just made some order.
[software/bife/bife-all.git] / examples / index.php
similarity index 93%
rename from index.php
rename to examples/index.php
index 0bd59f62a3931e8fec8ec9bd9c17d538acd0123f..57a35af254a681221764d84c8230930aec31fe32 100644 (file)
--- a/index.php
 // $Id$
 //
 
+$tmp = ini_get('include_path');
+ini_set('include_path', "../src:$tmp");
+unset($tmp);
+
+require_once 'prepend.php';
 require_once 'HTML/Template/Sigma.php';
 require_once 'BIFE/Parser.php';
 require_once 'BIFE/Page.php';
@@ -33,7 +38,7 @@ require_once 'BIFE/Title.php';
 require_once 'BIFE/Album.php';
 #require_once 'BIFE.php';
 
-$file = "simple.xbf";
+$file = 'simple.xbf';
 
 $template =& new HTML_Template_Sigma('templates');
 $template->setErrorHandling(PEAR_ERROR_PRINT);