Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
views
Commits
5cffea22
Commit
5cffea22
authored
Aug 27, 2006
by
Earl Miles
Browse files
Fix for 80994 -- PHP5 doesn't like loading modules sometimes
parent
03020d9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
views.module
View file @
5cffea22
...
...
@@ -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
"
);
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment