Commit acfca1eb authored by lphuberdeau's avatar lphuberdeau

[FIX] Force inclusion of tikilib

parent 687b969c
......@@ -17,6 +17,7 @@ if ( isset( $_SERVER['argv'][1] ) && $_SERVER['argv'][1] != 'install' && $_SERVE
}
require_once('lib/init/initlib.php');
require_once('lib/tikilib.php');
$tikipath = dirname(__FILE__) . '/../';
TikiInit::appendIncludePath($tikipath);
require_once('lib/setup/tikisetup.class.php');
......
......@@ -76,6 +76,7 @@ $prefs['smarty_notice_reporting'] = 'n';
$prefs['smarty_compilation'] = 'always';
$prefs['smarty_security'] = 'y';
require_once 'lib/init/initlib.php';
require_once 'lib/tikilib.php';
set_error_handler("tiki_error_handling", error_reporting());
require_once ( 'lib/init/smarty.php');
require_once ('installer/installlib.php');
......@@ -739,7 +740,7 @@ if (!defined('ADODB_CASE_ASSOC')) { // typo in adodb's driver for sybase? // so
define('ADODB_CASE_ASSOC', 2);
}
include('lib/tikilib.php');
require_once('lib/tikilib.php');
// Get list of available languages
$languages = TikiLib::list_languages(false, null, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment