]> git.nbdom.net Git - nb.git/commitdiff
shell-replace use nb_api instead of dbq
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 11 Jan 2023 13:48:33 +0000 (14:48 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 11 Jan 2023 13:48:33 +0000 (14:48 +0100)
lib/php/mime.php

index 0b0ec78278deefe04ba52d61c94eb9e5df572203..d299c08449e046086e222f411c66dabba1fb74bb 100644 (file)
@@ -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',