app/maguttiCms/Tools/UploadManager.php
/**
	* Rename the file name if
	* if already exist
	* @return $this
	*/
Rename the file name if
if already exist
@return $this
Rename the file name if if already exist @return $this
public function fileNameHandler()
	{
		$this->sanitizeFileFullName();
		if ($this->verifyIfFileExist()) {
			$newFileName = Str::slug(rand(10000, 99999) . '_' . $this->getFileBaseName()) . "." . $this->getFileExtension();
			$this->setFileFullName($newFileName);
		}
		return $this;
	}
public function fileNameHandler ( ) { $ this -> sanitizeFileFullName ( ) ; if ( $ this -> verifyIfFileExist ( ) ) { $ newFileName = Str :: slug ( rand ( 10000 , 99999 ) . '_' . $ this -> getFileBaseName ( ) ) . " . " . $ this -> getFileExtension ( ) ; $ this -> setFileFullName ( $ newFileName ) ; } return $ this ; }
Rename the file name if
 if already exist
 @return $this
Rename the file name if if already exist @return $this