fixed configuration issue
This commit is contained in:
parent
87499a8de5
commit
55a9efaff8
@ -155,6 +155,7 @@ class Cana extends Cana_Model {
|
||||
}
|
||||
|
||||
$cmd = c::config()->dirs->root.'cli/timeout.php'.$sleep.' -c='.str_replace("'",'"',escapeshellarg($encoded));
|
||||
|
||||
if ($async) {
|
||||
exec('nohup '.$cmd.' > /dev/null 2>&1 &');
|
||||
} else {
|
||||
|
||||
@ -36,6 +36,9 @@ class Crunchbutton_App extends Cana_App {
|
||||
case 'crunchbutton.localhost':
|
||||
$env = 'local';
|
||||
break;
|
||||
default:
|
||||
$env = 'local';
|
||||
break;
|
||||
}
|
||||
|
||||
switch ($_SERVER['__HTTP_HOST']) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user