Fix wo clean
This commit is contained in:
@@ -79,7 +79,7 @@ class WOCleanController(CementBaseController):
|
||||
Log.info(self, "Cleaning opcache")
|
||||
opgui = requests.get(
|
||||
"http://127.0.0.1/cache/opcache/opgui.php?reset=1")
|
||||
if opgui.status_code != '200':
|
||||
if opgui.status_code != '200' or opgui.status_code != '302':
|
||||
Log.warn(self, 'Cleaning opcache failed')
|
||||
except Exception as e:
|
||||
Log.debug(self, "{0}".format(e))
|
||||
|
||||
Reference in New Issue
Block a user