Commit b70e936d authored by Steven Wittens's avatar Steven Wittens
Browse files

#109032: Make session.inc pluggable.

parent 6c3f2ef2
...@@ -806,7 +806,7 @@ function _drupal_bootstrap($phase) { ...@@ -806,7 +806,7 @@ function _drupal_bootstrap($phase) {
break; break;
case DRUPAL_BOOTSTRAP_SESSION: case DRUPAL_BOOTSTRAP_SESSION:
require_once './includes/session.inc'; require_once variable_get('session_inc', './includes/session.inc');
session_set_save_handler('sess_open', 'sess_close', 'sess_read', 'sess_write', 'sess_destroy_sid', 'sess_gc'); session_set_save_handler('sess_open', 'sess_close', 'sess_read', 'sess_write', 'sess_destroy_sid', 'sess_gc');
session_start(); session_start();
break; break;
......
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