@@ 56-56 (lines=1) @@ | ||
53 | { |
|
54 | if (!isset($aOptions['p'])) { $aOptions['p'] = 'Batch'; } |
|
55 | ||
56 | if (!isset($aOptions['b'])) { $aOptions['b'] = json_encode(Config::get('Db', $aOptions['p'])); } |
|
57 | ||
58 | $aOptions['g'] = __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$aOptions['p'].DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'Entity'.DIRECTORY_SEPARATOR; |
|
59 | $aOptions['h'] = __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$aOptions['p'].DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'Model'.DIRECTORY_SEPARATOR; |
|
@@ 80-80 (lines=1) @@ | ||
77 | { |
|
78 | if (!isset($aOptions['p'])) { $aOptions['p'] = 'Batch'; } |
|
79 | ||
80 | if (!isset($aOptions['b'])) { $aOptions['b'] = json_encode(Config::get('Db', $aOptions['p'])); } |
|
81 | ||
82 | $oBatch = new Operation; |
|
83 | $oBatch->createDb($aOptions); |