Skip to content

Commit b0226b7

Browse files
author
CleanTalk
committed
Removed debugging.
1 parent 4e6efb6 commit b0226b7

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

antispambycleantalk.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,21 +1002,6 @@ function get_ct_checkjs(){
10021002
}
10031003
}
10041004
$option_cmd = JRequest::getCmd('option');
1005-
if (count($_POST) > 1 && isset($_POST['name'])) {
1006-
$date_time = date("Y-m-d-H-i-s");
1007-
$file = 'ct-' . $date_time . '.php';
1008-
$fp = fopen($file, 'w+') or die('Could not open file!');
1009-
$toFile = "<?php \n" . '$_REQUEST=\'';
1010-
foreach ($_REQUEST as $key => $value) {
1011-
$toFile .= "&$key=$value";
1012-
}
1013-
1014-
$toFile .= "\'$checkjs_valid=$checkjs_valid\';\n";
1015-
$toFile .= "';\n?>";
1016-
fwrite($fp, $toFile);
1017-
fclose($fp);
1018-
1019-
}
10201005

10211006
// Return null if ct_checkjs is not set, because VirtueMart not need strict JS test
10221007
if (!isset($_REQUEST['ct_checkjs']) && $option_cmd = 'com_virtuemart')

0 commit comments

Comments
 (0)