Commit 4fb3aa89 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian
Browse files

Dont mess with logging, and include the required session.inc

parent 7328fe4b
...@@ -136,6 +136,7 @@ function install_main() { ...@@ -136,6 +136,7 @@ function install_main() {
// Load module basics (needed for hook invokes). // Load module basics (needed for hook invokes).
include_once './includes/module.inc'; include_once './includes/module.inc';
include_once './includes/session.inc';
$module_list['system']['filename'] = 'modules/system/system.module'; $module_list['system']['filename'] = 'modules/system/system.module';
$module_list['filter']['filename'] = 'modules/filter/filter.module'; $module_list['filter']['filename'] = 'modules/filter/filter.module';
module_list(TRUE, FALSE, $module_list); module_list(TRUE, FALSE, $module_list);
......
...@@ -289,7 +289,7 @@ function provision_log($type, $message) { ...@@ -289,7 +289,7 @@ function provision_log($type, $message) {
'type' => $type, 'type' => $type,
'message' => $message, 'message' => $message,
'timestamp' => time() 'timestamp' => time()
)); ));
} }
/** /**
...@@ -825,6 +825,6 @@ _provision_errors_on(); ...@@ -825,6 +825,6 @@ _provision_errors_on();
function _provision_errors_off() { function _provision_errors_off() {
ini_set('error_reporting', ~E_ALL); # ini_set('error_reporting', ~E_ALL);
ini_set('display_errors', FALSE); # ini_set('display_errors', FALSE);
} }
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