PHP Deployment Scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
neatoDeploy/app/utils/wget.php

14 lines
324 B

<?php
namespace utils;
class wget {
public static function download($file, $site) {
exec(\neato::get_user_bin . 'wget -O ' . safeCmd($file) . ' ' . safeCmd($site), $output, $exit_code);
display($output);
checkForError($exit_code, "Unable to run wget command: {$site}");
return $exit_code;
}
}