Problem/Motivation
Trying to use redis's path.inc but it was saying
Cannot redeclare drupal_path_initialize()
Looked around my code base and noticed this module was hardcoding the path.
Proposed resolution
Do what the roman's do.
require_once DRUPAL_ROOT . '/' . variable_get('path_inc', 'includes/path.inc');
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | hardcoded_path_inc-2595127-2.patch | 639 bytes | joelpittet |
Comments
Comment #2
joelpittetHere's the thought.
Comment #4
stefan.r commentedThanks, committed and included in 2.0!