BUG-15029 We can`t rename a folder in Documents SOLVED

- Error in position validate "function_exists".
- Change of position of validation in file appFolderAjax.php.