mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
New feature. Copy application from remote source; e.g.: GIT repo.
This commit is contained in:
+4
-2
@@ -85,8 +85,10 @@ class Mage_Console
|
||||
self::log('---- Executing: $ ' . $command);
|
||||
|
||||
ob_start();
|
||||
system($command . ' 2>&1', $return);
|
||||
$log = ob_get_clean();
|
||||
$return = 1;
|
||||
$log = array();
|
||||
exec($command . ' 2>&1', $log, $return);
|
||||
$log = implode(PHP_EOL, $log);
|
||||
|
||||
if (!$return) {
|
||||
$output = trim($log);
|
||||
|
||||
Reference in New Issue
Block a user