Re-enabled blocking of lang vars listing (avoid allowing hackers to overload the server)

skala
ywarnier 14 years ago
parent fc1b66af23
commit 55ae557969
  1. 2
      main/cron/lang/list_undefined_langvars.php

@ -6,7 +6,7 @@
/**
* Includes and declarations
*/
//if (PHP_SAPI!='cli') { die('Run this script through the command line or comment this line in the code'); }
if (PHP_SAPI!='cli') { die('Run this script through the command line or comment this line in the code'); }
require_once '../../inc/global.inc.php';
require_once api_get_path(SYS_CODE_PATH).'admin/sub_language.class.php';
$path = api_get_path(SYS_LANG_PATH).'english';

Loading…
Cancel
Save