#
#################################################################################
+#
+# APP
+#
+[ -z "$CLOUD_DIR" ] && [ -e ~nico/Dropbox ] && CLOUD_DIR=~nico/Dropbox
+[ -z "$DBQ_HOST" ] && DBQ_HOST='db.nbdom.net'
+
#
# BASE
#
[ -z "$UID" ] && UID=`id -u`
[ -z "$USER" ] && USER=`whoami`
[ -z "$OSTYPE" ] && OSTYPE=`uname|tr [:upper:] [:lower:]`
-# NB 25.08.16 [ -z "PWD" ] && PWD=`pwd`
-
-# NB 10.12.16 [ -z "$CLOUD_DIR" ] && [ -e ~nico/ownCloud ] && CLOUD_DIR=~nico/ownCloud
-[ -z "$CLOUD_DIR" ] && [ -e ~nico/Dropbox ] && CLOUD_DIR=~nico/Dropbox
# > env_add_path
-#We don't want to destroyed variables if function does not exists !
+# We don't want to destroyed variables if function does not exists !
if true || env_add_path 1>/dev/null; then
#
// Then content type
if (empty($content_type)) $content_type = Mime::fromExt($format==self::CLI_FORMAT ? 'txt' : $format);
+ if (empty($content_type)) $content_type = 'text/plain';
if ($content_type) $this->page->content_type($content_type);
}