From: Nicolas Boisselier Date: Wed, 11 Jan 2023 13:48:33 +0000 (+0100) Subject: shell-replace use nb_api instead of dbq X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=82697b118151db85d6cd380baaf3dc4f9a9d568d;p=nb.git shell-replace use nb_api instead of dbq --- diff --git a/lib/php/mime.php b/lib/php/mime.php index 0b0ec782..d299c084 100644 --- a/lib/php/mime.php +++ b/lib/php/mime.php @@ -8,7 +8,7 @@ class Mime { 'pl' => 'application/x-perl', 'jpg' => 'image/jpeg', 'yaml' => 'text/yaml', -#>SHELL_REPLACE dbq "/pub/mime/ls/ext,type.php_hash?preff=%09%09&orderby=ext&type=!application%2Foctet-stream" +#>SHELL_REPLACE bash -lc 'nb_api "/pub/mime/ls/ext,type.php_hash?preff=%09%09&orderby=ext&type=!application%2Foctet-stream"' '123' => 'application/vnd.lotus-1-2-3', '3dml' => 'text/vnd.in3d.3dml', '3ds' => 'image/x-3ds',