From: Nicolas Boisselier Date: Sat, 13 Jul 2019 03:14:01 +0000 (+0100) Subject: /opt/nb/www/dbq/etc/nginx.conf X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=7ae8f9463d749dd1a0940ee87628e4d186f9fe72;p=nb.git /opt/nb/www/dbq/etc/nginx.conf --- diff --git a/lib/php/db/table.php b/lib/php/db/table.php index b3bc44d7..94c3dc15 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -1385,7 +1385,7 @@ Class Table extends nb { $this->tot = $opt['tot'] = $tot; } # < is_html - if (!isset($opt['tot'])) $opt['tot'] = $opt['count']; + if (!isset($opt['tot'])) $this->tot = $opt['tot'] = $opt['count']; if ($count === 0 and !$format) { echo $this->{"rows_begin_$format"}($fields,$opt); diff --git a/www/dbq/etc/nginx.conf b/www/dbq/etc/nginx.conf index 947f19a5..3a4b55c5 100644 --- a/www/dbq/etc/nginx.conf +++ b/www/dbq/etc/nginx.conf @@ -45,6 +45,7 @@ location ~ /index\.php$ { if ($DBQ_CONF_DIR = "") { set $DBQ_CONF_DIR ""; } fastcgi_param DBQ_CONF_DIR $DBQ_CONF_DIR; + if ($DBQ_PERM = "") { set $DBQ_PERM ""; } fastcgi_param DBQ_PERM $DBQ_PERM; if ($DBQ_PROD = "") { set $DBQ_PROD ""; }