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.
25 lines
720 B
25 lines
720 B
<?php
|
|
configure::set('display', true); // Show Output
|
|
configure::set('logfile', false); // Save to log folder
|
|
configure::set('syslog', false);
|
|
|
|
//do_command('apache::ht_password', 'my.htpasswd', 'johnny', 'shhhh');
|
|
|
|
force_root();
|
|
|
|
$status = do_command('php::query_module', 'gd', '8.2', 'apache2');
|
|
echo ($status == 0) ? 'PHP found module gd' : 'gd not found as module for PHP';
|
|
|
|
echo ".\r\n";
|
|
|
|
$n = do_command('npm::is_package_installed_globally', 'gulp-cli');
|
|
echo ($n == 0) ? 'Found npm package Gulp-cli' : 'npm package gulp-cli not found';
|
|
|
|
echo ".\r\n";
|
|
|
|
print_r(do_command('ufw::status'));
|
|
|
|
$ok = use_me('wget');
|
|
if ($ok !== false) {
|
|
//do_command('wget::download', 'test.html', 'http://127.0.0.1/index.php');
|
|
}
|
|
|