From 0f4f456d898c1da1af54d4370629cb4fbb0b395f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 16 Apr 2006 12:24:15 +0000 Subject: [PATCH] allow method-names starting with ajax --- xajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xajax.php b/xajax.php index 3fe0f1fd35..dc7d96fcac 100644 --- a/xajax.php +++ b/xajax.php @@ -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!!!');