RunGenerator.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 5 Sep 2011 05:44:02 +0000 (13:44 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 5 Sep 2011 05:44:02 +0000 (13:44 +0800)
RunGenerator.php

index 9653fe5..4bcb0cf 100644 (file)
@@ -74,8 +74,9 @@ class Pman_Core_RunGenerator extends Pman
        
         
         $modules = is_string($opts['modules']) ? array($opts['modules']) : $opts['modules'];
-       
-        $x->start($this->cli, $modules, $lastarg);
+        $overwrite = is_string($opts['overwrite']) ? array($opts['overwrite']) : $opts['overwrite'];
+
+        $x->start($this->cli, $modules, overwrite);
         
         // technically it would be good to trash the cached ini files here.. 
         // however we can not really do that, as the ownships are off..