Commit 5cffea22 authored by merlinofchaos's avatar merlinofchaos
Browse files

Fix for 80994 -- PHP5 doesn't like loading modules sometimes

parent 03020d9b
......@@ -15,7 +15,7 @@ function views_init() {
// The filename format is very specific. It must be views_MODULENAME.inc
$module = substr_replace($file->name, '', 0, 6);
if (module_exist($module)) {
require_once($file->filename);
require_once("./$file->filename");
}
}
}
......
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