add cronjob info

This commit is contained in:
Ibnu Maksum
2023-10-17 16:51:53 +07:00
parent a5a5969642
commit 7094555f9f
2 changed files with 20 additions and 2 deletions

View File

@ -37,6 +37,12 @@ switch ($action) {
$themes[] = $file;
}
}
$php = trim(shell_exec('which php'));
if(empty($php)){
$php = 'php';
}
$ui->assign('php', $php);
$ui->assign('dir', str_replace('controllers','', __DIR__));
$ui->assign('themes', $themes);
run_hook('view_app_settings'); #HOOK
$ui->display('app-settings.tpl');