allow method-names starting with ajax

This commit is contained in:
Ralf Becker 2006-04-16 12:24:15 +00:00
parent ff363c13ee
commit 0f4f456d89

View File

@ -25,7 +25,7 @@
list($appName, $className, $functionName) = explode('.',$arg0);
if(substr($className,0,4) != 'ajax' && $arg0 != 'etemplate.etemplate.process_exec')
if(substr($className,0,4) != 'ajax' && $arg0 != 'etemplate.etemplate.process_exec' && substr($functionName,0,4) != 'ajax')
{
// stopped for security reasons
error_log($_SERVER["PHP_SELF"]. ' stopped for security reason. className '.$className.' is not valid. className must start with ajax!!!');