This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

LucasZdv
LucasZdv

Hello, I have to make a change of template through an SSH connection. http://laravelcollective.com/docs/5.0/ssh It does not work because the confirmation request may escape from it?

public function switchTheme(){

   $commands = [
        "cd /srv/octomain/clients/one-project",
        "php artisan theme:use thistheme", # how i can confirm this command?
        "php artisan cache:clear"
    ];

    SSH::run($commands, function($line)
    {
        $this->response.= $line.PHP_EOL;
    });

    return $this->response;
}

response:

** Do you really want to change the active theme? ** Command Cancelled! Application cache cleared!

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.