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'); }
function __pre_unzip() { global $__settings, $error, $software, $globals; schmod($__settings['softpath'] . '/cache/', $globals['odc'], 1); srm($__settings['softpath'] . '/cache'); }