'min' => 1,
'max' => -1,
+ ),
+ 'noupdate' => array(
+ 'desc' => 'Do not update the database using sql',
+ 'default' => '',
+ 'short' => 'n',
+ 'min' => 1,
+ 'max' => -1,
+
)
);
return true;
}
- function get($args, $opts)
+ function get($args, $opts=array())
{
//print_r($opts);exit;
+ if (empty($opts['noupdate'])) {
+ HTML_FlexyFramework::run('Core/UpdateDatabase');
+ }
- HTML_FlexyFramework::run('Core/UpdateDatabase');