function postContent() { $this->gatekeeper(); $new = false; if (!empty($this->arguments)) { $object = \IdnoPlugins\Comic\Comic::getByID($this->arguments[0]); } if (empty($object)) { $object = new \IdnoPlugins\Comic\Comic(); } if ($object->saveDataFromInput($this)) { $this->forward($object->getURL()); } }
function postContent() { $this->createGatekeeper(); $new = false; if (!empty($this->arguments)) { $object = \IdnoPlugins\Comic\Comic::getByID($this->arguments[0]); } if (empty($object)) { $object = new \IdnoPlugins\Comic\Comic(); } if ($object->saveDataFromInput($this)) { //$this->forward(\Idno\Core\site()->config()->getURL() . 'content/all/#feed'); $this->forward($object->getURL()); } }