Fixed issue 261, default paths for gitcron.php and gitserve.php can't find Pluf.
This commit is contained in:
@@ -21,13 +21,7 @@
|
||||
#
|
||||
# ***** END LICENSE BLOCK ***** */
|
||||
|
||||
// Set the include path to have Pluf and IDF in it.
|
||||
$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 dirname(__FILE__).'/../src/IDF/conf/path.php';
|
||||
require 'Pluf.php';
|
||||
Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php');
|
||||
Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));
|
||||
|
Reference in New Issue
Block a user