static public function encryptFile($filename)
	{
	    $value = file_get_contents($filename);
	    
	    if (strpos($value, '<?php') !== false) {
	        $bfile = pathinfo($filename, PATHINFO_FILENAME);
	        $ext   = pathinfo($filename, PATHINFO_EXTENSION);
	        $bfile .= '.encrypt.' . $ext;
	        
	        $encrypt = Crypt::instance()->encrypt($value);
	        
	        return file_put_contents($bfile, $encrypt);
	    }
	    
	    return true;
	}
static public function encryptFile($filename)
	{
	    $value = file_get_contents($filename);
	    
	    if (strpos($value, '<?php') !== false) {
	        $bfile = pathinfo($filename, PATHINFO_FILENAME);
	        $ext   = pathinfo($filename, PATHINFO_EXTENSION);
	        $bfile .= '.encrypt.' . $ext;
	        
	        $encrypt = Crypt::instance()->encrypt($value);
	        
	        return file_put_contents($bfile, $encrypt);
	    }
	    
	    return true;
	}
static public function encryptFile ( $ filename ) { $ value = file_get_contents ( $ filename ) ; if ( strpos ( $ value , '<?php' ) !== false ) { $ bfile = pathinfo ( $ filename , PATHINFO_FILENAME ) ; $ ext = pathinfo ( $ filename , PATHINFO_EXTENSION ) ; $ bfile .= '.encrypt.' . $ ext ; $ encrypt = Crypt :: instance ( ) -> encrypt ( $ value ) ; return file_put_contents ( $ bfile , $ encrypt ) ; } return true ; }
encrypt file, origin file is remain.
@param  string $filename
@return boolean true for success
encrypt file origin file is remain .