From 82697b118151db85d6cd380baaf3dc4f9a9d568d Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 11 Jan 2023 14:48:33 +0100 Subject: [PATCH] shell-replace use nb_api instead of dbq --- lib/php/mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.47.3