X7ROOT File Manager
Current Path:
/usr/share/lve/modlscapi/hooks
usr
/
share
/
lve
/
modlscapi
/
hooks
/
📁
..
📄
buildlsphp.hook
(839 B)
📄
clearconf.hook
(923 B)
📄
cpanel_check_handlers_hook.sh
(1.3 KB)
📄
cpanel_post_upcp_check_handlers_hook.py
(1.35 KB)
📄
cpanel_post_upcp_lsapi_hook.py
(1.33 KB)
📄
cpanel_pre_upcp_check_handlers_hook.py
(1.34 KB)
📄
cpanelpostupcp.hook
(2.03 KB)
📄
lsapi.hook
(1.05 KB)
📄
lsapi_patch_cpanel_hook.sh
(1.01 KB)
Editing: clearconf.hook
#!/bin/bash # Copyright (c) Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #Clear old conf files. Need it if apache type change . /usr/share/lve/modlscapi/include/cpanel-common-lve #if [ -e "/usr/local/apache/conf/conf.d" ]; then # rm -f /usr/local/apache/conf/conf.d/lsapi.conf #fi writeToLog "[clearconf] hook was successfully executed"
Upload File
Create Folder