예제 #1
0
 public function executeSavePage()
 {
     try {
         PanelService::objectSave($obj, $parent);
         Urlrewrite::updateUrlRelationCache();
         //UtilsHelper::setBackendMsg("Saved");
     } catch (Exception $e) {
         UtilsHelper::setBackendMsg("Error saving Page: " . $e->getMessage(), "error");
     }
     //		exec('rm -fr '.SF_ROOT_DIR.DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR.'menus/*');
     //		PanelService::redirect();
     //		exit();
 }