Beispiel #1
0
 public function removeLogoImg($d = array())
 {
     $logoImgDirPath = frameCsp::_()->getModule('options')->getLogoImgFullDir();
     if ($this->save(array('opt_values' => array('logo_image' => ''), 'code' => 'logo_image')) && utilsCsp::deleteFile($logoImgDirPath)) {
         return true;
     } else {
         $this->pushError(langCsp::_('Unable to remove image'));
     }
 }