Code comment
This commit is contained in:
parent
695ca08684
commit
968720bfdc
@ -673,10 +673,12 @@ function showWebsiteTemplates(Website $website)
|
||||
|
||||
|
||||
/**
|
||||
* checkPHPCode
|
||||
* Check a new string containing only php code (including <php tag)
|
||||
* - Block if bad code in the new string.
|
||||
* - Block also if user has no permission to change PHP code.
|
||||
*
|
||||
* @param string $phpfullcodestringold PHP old string
|
||||
* @param string $phpfullcodestring PHP new string
|
||||
* @param string $phpfullcodestringold PHP old string. For exemple "<?php echo 'a' ?><php echo 'b' ?>"
|
||||
* @param string $phpfullcodestring PHP new string. For exemple "<?php echo 'a' ?><php echo 'c' ?>"
|
||||
* @return int Error or not
|
||||
*/
|
||||
function checkPHPCode($phpfullcodestringold, $phpfullcodestring)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user