public $table;
public $db;
+ protected $idtemplate;
+
public function __construct($opt=[]) {
//
// Pre defaults values
// Format first !
if ($this->params['format']) {
$format = $this->params['format'];
+# NB 08.12.17: TODO
+# NB 08.12.17 if (preg_match("/^(.*)\.tmpl/",$format,$m)) {
+# NB 08.12.17 $this->idtemplate = $m[1];
+# NB 08.12.17 $format = 'template';
+# NB 08.12.17 }
} else if ($content_type = self::client_content_type() and ( $format=Mime::toExt($content_type) )) {
#$format = $format;
$this->db(true); # Db Connections
$action = $this->params['table'];
if (!$action and self::PARAM_DB_DEFAULT) $action = self::PARAM_DB_DEFAULT;
-# NB 27.12.16 $this->params['table'] = '';
if ($action == 'help') {
$this->page($this->db,[
eval minify --$ext < "$f" > "$min.bak" && mv "$min.bak" "$min"
[ "$?" = "0" ] || ex=1
#git add "$min"
- [ "$ex" = "0" ] && echo DEBUG: Should: git add "$min"
+ #[ "$ex" = "0" ] && echo DEBUG: Should: git add "$min"
#[ "$ex" = "0" ] && git add "$min" && echo "DEBUG: git add $min"
done