public function write($path = '', $file = '', $content = '')
  {
    $the_path = Application::config()->public_folder() . '/' . $path;

    @mkdir($the_path, 0755, true);
    $this->write_to($the_path . '/'. $file, $content);
  }
public function write($path = '', $file = '', $content = '')
  {
    $the_path = Application::config()->public_folder() . '/' . $path;

    @mkdir($the_path, 0755, true);
    $this->write_to($the_path . '/'. $file, $content);
  }
public function write ( $ path = '' , $ file = '' , $ content = '' ) { $ the_path = Application :: config ( ) -> public_folder ( ) . '/' . $ path ; @ mkdir ( $ the_path , 0755 , true ) ; $ this -> write_to ( $ the_path . '/' . $ file , $ content ) ; }
Write the file.
@param $path string | The path where the file is located.
@param $file string | The filename.
@param $content string | The file content.
@return string
Write the file .