Drupal 6.x core adds ability to change cache handler implementation by specifying another $conf['cache_inc'] in settings.php:
case DRUPAL_BOOTSTRAP_EARLY_PAGE_CACHE:
// Allow specifying special cache handlers in settings.php, like
// using memcached or files for storing cache information.
require_once variable_get('cache_inc', './includes/cache.inc');
or specifying another $conf['session_inc'] session handler implementation:
case DRUPAL_BOOTSTRAP_SESSION:
require_once variable_get('session_inc', './includes/session.inc');
My idea was to add ability to change path.inc implementation by specifying $conf['path_inc'] setting in site's settings.php file.
Continue reading...