diff options
author | Christian Schneider | 2015-02-10 16:31:38 +0100 |
---|---|---|
committer | Christian Schneider | 2015-02-10 16:31:38 +0100 |
commit | 63ec357b2f300c48d4c90d7d6209b964c2caa3dd (patch) | |
tree | 6cade258a1c0c9362a5931a0dbc6a8c51d33812d /it.class | |
parent | 9e350531328e67bd5b0c0425f1a2619a08456f6e (diff) | |
download | itools-63ec357b2f300c48d4c90d7d6209b964c2caa3dd.tar.gz itools-63ec357b2f300c48d4c90d7d6209b964c2caa3dd.tar.bz2 itools-63ec357b2f300c48d4c90d7d6209b964c2caa3dd.zip |
Make ITools standard PHP 5.3 compatible (syntax patch, no short array syntax)
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -622,7 +622,7 @@ static function _exec_quotevalue($value, $errmsg = "") */ static function cexec(/* $cmd, $values1 = array(), ... */) { - return it::exec('cdist -c {CMD}', 'CMD' => call_user_func_array('it::shell_command', func_get_args())); + return it::exec('cdist -c {CMD}', array('CMD' => call_user_func_array('it::shell_command', func_get_args()))); } @@ -636,7 +636,7 @@ static function cdist(/* $file1, ... */) foreach (func_get_args() as $arg) $files = array_merge((array)$files, (array)$arg); - return it::exec('cdist {FILES}', 'FILES' => $files); + return it::exec('cdist {FILES}', array('FILES' => $files)); } |