Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GIP RENATER
switch-wayf
Commits
f776ede5
Commit
f776ede5
authored
Mar 27, 2015
by
haemmer
Browse files
Remove script access check again because this prevents manually calling readMetadata.php
parent
d7fad2d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.php
View file @
f776ede5
...
...
@@ -6,12 +6,6 @@ This file contains common functions of the SWITCHwayf
******************************************************************************
*/
if
(
!
isset
(
$_SERVER
[
'REMOTE_ADDR'
])
||
basename
(
$_SERVER
[
'SCRIPT_NAME'
])
==
'templates.php'
){
exit
(
'No direct script access allowed'
);
}
/******************************************************************************/
// Initilizes default configuration options if they were not set already
function
initConfigOptions
(){
global
$defaultLanguage
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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