viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]
Filename | |
---|---|
controllers/admin_controller.php |
diff --git a/controllers/admin_controller.php b/controllers/admin_controller.php index 4245edd6b..fdad8a162 100755 --- a/controllers/admin_controller.php +++ b/controllers/admin_controller.php @@ -350,7 +350,7 @@ class AdminController extends Controller implements CrawlConstants $profile = $this->model("profile")->getProfile(WORK_DIRECTORY); $data['NEWS_MODE'] = isset($profile['NEWS_MODE']) ? $profile['NEWS_MODE']: ""; - if($profile['NEWS_MODE'] == "news_process" && + if($data['NEWS_MODE'] == "news_process" && $data['MACHINES']['NAME_SERVER']["news_updater"] == 0) { // try to restart news server if dead CrawlDaemon::start("news_updater", 'none', "", -1);