Skip to content
Snippets Groups Projects
Verified Commit b32564a1 authored by David Beniamine's avatar David Beniamine
Browse files

Improve get_conf_val

parent e6ffe16b
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
get_conf_val () {
grep $1 dolibarr_src/htdocs/conf/conf.php | cut -d '=' -f 2 | sed -e "s/^'//" -e "s/';$//"
grep "^\$dolibarr_$1" dolibarr_src/htdocs/conf/conf.php | cut -d '=' -f 2 | sed -e "s/^'//" -e "s/';$//"
}
APP_SERVICE="dolibarr"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment