diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-04-11 13:58:18 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-04-11 18:57:40 +0200 |
commit | 4cf61481e5e3c4be2637b6ad4d1ad069b3a46e7d (patch) | |
tree | 362085a640b713055892983c134aba5f6f8be68f /apps | |
parent | bd6273ee1c803b8a129fb76135ca23377805da9e (diff) | |
download | nextcloud-server-4cf61481e5e3c4be2637b6ad4d1ad069b3a46e7d.tar.gz nextcloud-server-4cf61481e5e3c4be2637b6ad4d1ad069b3a46e7d.zip |
Clear opcode cache after config change
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/testing/clean_opcode_cache.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/testing/clean_opcode_cache.php b/apps/testing/clean_opcode_cache.php new file mode 100644 index 00000000000..d48d3131b70 --- /dev/null +++ b/apps/testing/clean_opcode_cache.php @@ -0,0 +1,22 @@ +<?php +/** + * @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +opcache_reset(); |