예제 #1
0
 /**
  * create / recreate the cache directory
  * this way the app doesn't have to create
  * the next time a manipulated image is requested
  * 
  * @return void
  */
 private function createCacheDir()
 {
     if (!$this->dirExists($srcPath = $this->server->getSourcePathPrefix())) {
         $this->filesystem()->createDir($srcPath);
     }
     $this->filesystem()->createDir($this->server->getCachePathPrefix());
 }