Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f40efdca
Commit
f40efdca
authored
May 16, 2001
by
natrak
Browse files
- Updated to only die() if page is directly requested.
parent
ced0838a
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/setting.php
View file @
f40efdca
...
...
@@ -57,6 +57,6 @@
$languages
=
array
(
"en"
=>
"English"
);
# This line prevents users from accessing your settings file:
die
(
"access denied"
);
if
(
basename
(
$SCRIPT_FILENAME
)
==
basename
(
__FILE__
)
&&
basename
(
$SCRIPT_FILENAME
)
!=
""
)
die
(
"access denied"
);
?>
\ No newline at end of file
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