revert last (unnecessary) commit

This commit is contained in:
Ralf Becker 2016-05-01 17:54:13 +00:00
parent dcc003cedf
commit a0e3340d1c

View File

@ -9,8 +9,6 @@
* @version $Id$ * @version $Id$
*/ */
use EGroupware\Api;
die('This file is only used on http://www.egroupware.org/ and therefore disabled on local installations!'); die('This file is only used on http://www.egroupware.org/ and therefore disabled on local installations!');
if(empty($_POST['locale']) || !preg_match('/^[A-Z]{2}$/',$_POST['locale'])) if(empty($_POST['locale']) || !preg_match('/^[A-Z]{2}$/',$_POST['locale']))
@ -70,7 +68,7 @@ if(!file_exists($file) || filesize($file) < 300) // treat very small files as no
exit; exit;
} }
?> ?>
<!DOCTYPE Api\Html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <html>
<head> <head>
<title>eGroupWare.org: There is already a holiday-file for '<?php echo $_POST['locale']; ?>' !!!</title> <title>eGroupWare.org: There is already a holiday-file for '<?php echo $_POST['locale']; ?>' !!!</title>