Esempio n. 1
0
 public function preparePage()
 {
     $this->P = new \HaaseIT\HCSF\CorePage($this->serviceManager);
     $this->P->cb_pagetype = 'content';
     $this->P->cb_subnav = 'admin';
     $this->P->oPayload->cl_html = 'The template cache has been cleared.';
     $adapter = new \League\Flysystem\Adapter\Local(PATH_CACHE);
     $filesystem = new \League\Flysystem\Filesystem($adapter);
     $filesystem->deleteDir(DIRNAME_TEMPLATECACHE);
     $filesystem->createDir(DIRNAME_TEMPLATECACHE);
 }