Exemplo n.º 1
0
function __scripts_post_remove()
{
    global $__settings, $error, $software, $globals, $softpanel, $notes;
    // Remove node stuff
    srm($__settings['softdatadir']);
    shell_exec('rm -rf ' . $__settings['softdatadir']);
    shell_exec('rm -rf ' . $__settings['softpath'] . '/node_modules');
}
Exemplo n.º 2
0
function __pre_unzip()
{
    global $__settings, $error, $software, $globals;
    schmod($__settings['softpath'] . '/cache/', $globals['odc'], 1);
    srm($__settings['softpath'] . '/cache');
}