예제 #1
0
파일: remove.php 프로젝트: Git-Host/AMPPS
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');
}
예제 #2
0
파일: _upgrade.php 프로젝트: Git-Host/AMPPS
function __pre_unzip()
{
    global $__settings, $error, $software, $globals;
    schmod($__settings['softpath'] . '/cache/', $globals['odc'], 1);
    srm($__settings['softpath'] . '/cache');
}