Commit f776ede5 authored by haemmer's avatar haemmer
Browse files

Remove script access check again because this prevents manually calling readMetadata.php

parent d7fad2d0
......@@ -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;
......
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