mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-08 00:54:24 +02:00
Demo Mode cannot install plugin from url as it Security risk
This commit is contained in:
parent
95c8bdcc53
commit
4ff45e8de7
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ switch ($action) {
|
|||
r2(U . "pluginmanager", 's', 'Refresh success');
|
||||
break;
|
||||
case 'dlinstall':
|
||||
if($_app_stage == 'demo'){
|
||||
r2(U . "pluginmanager", 'e', 'Demo Mode cannot install as it Security risk');
|
||||
}
|
||||
if (!is_writeable($CACHE_PATH)) {
|
||||
r2(U . "pluginmanager", 'e', 'Folder cache/ is not writable');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue