function stop() { $services = new services(); if (($stopService = $services->stop($_REQUEST['service'])) != "") { $this->setFlash('success', 'Service ' . $_REQUEST['service'] . ' ' . $stopService); } else { $this->setFlash('danger', 'Service ' . $_REQUEST['service'] . ' dont stoped! Every services dont have stoped, eg: cron, resolveconf and outhers.'); } $this->show(); }