$file_content = drupal_substr(file_get_contents($path . 'configurations.inc'), 6);

This is goes against the normal Drupal way of using paths -- there should never be a trailing slash.

$path should be taken without a trailing slash, and the function code should add it.

CommentFileSizeAuthor
#1 1872178.1.patch1.22 KBGDrupal

Comments

GDrupal’s picture

Status: Active » Needs review
StatusFileSize
new1.22 KB

Fixed path issue and documentation update about the structure of files within directory.

GDrupal’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.