Beispiel #1
0
 function appendContent($path, $cont)
 {
     $this->check($path, Permission::WRITE);
     $filename = $this->resolve($path);
     $this->mkdir(PathUtil::up($path));
     $handle = fopen($filename, "a");
     $contents = fwrite($handle, $cont);
     fclose($handle);
 }
Beispiel #2
0
 public function up()
 {
     return $this->resolve(PathUtil::up($this->path()));
 }