let g:File['check'] = 'du -sh'
if (g:File['type'] == 'php')
- let g:File['check'] = "php5 --define error_reporting=22519 --define display_errors=1 --define log_errors=1 --define html_errors=0" " E_ALL & ~E_NOTICE & ~E_DEPRECATED
+ let g:File['check'] = "php --define error_reporting=22519 --define display_errors=1 --define log_errors=1 --define html_errors=0" " E_ALL & ~E_NOTICE & ~E_DEPRECATED
" todo - NB 11.12.12 if match(expand('%'),'/izideal/') let g:File['check'] = g:File['check'] . ' -z ~izideal/include/default.inc.php'
elseif (g:File['type'] == 'python')
$this->out($available,['action','description']);
$return = true;
+ } elseif ($action == 'db.stdin') {
+
+ $count = 0;
+ while ($line = fgets(STDIN)) {
+ $count++;
+ #echo "$count> $line";
+ $this->conn->exec($line);
+ }
+ $return = $this->out([
+ 'count' => $count,
+ ]);
+
} elseif ($action == 'db.tables' or $action == 'tables') {
# Filters
$type = $this->p('type','');