mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
nuweb: Added mdlio app helpers.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
parent
e173c4613c
commit
c1ba6ae4ec
7 changed files with 509 additions and 13 deletions
|
|
@ -4,4 +4,12 @@ readonly NUWEB_BIN_DIR=$(dirname $(realpath ${BASH_SOURCE[0]}))
|
|||
source $NUWEB_BIN_DIR/../inc/nux-base.inc.sh
|
||||
|
||||
nux.use nuweb
|
||||
source "$1"
|
||||
|
||||
dirty.url.decode() {
|
||||
sed -e "s/%20/ /gi" <<< "$@"
|
||||
}
|
||||
nux.log.level debug
|
||||
NUWEB_SCRIPT_URI="${SCRIPT_FILENAME#$DOCUMENT_ROOT}" \
|
||||
NUWEB_MAYBE_PWD="$DOCUMENT_ROOT$(dirty.url.decode "${REQUEST_URI%%\?*}")" \
|
||||
NUWEB_REQUEST_PATH="${REQUEST_URI%%\?*}" \
|
||||
source "$1"
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
readonly NUWEB_BIN_DIR=$(dirname $(realpath ${BASH_SOURCE[0]}))
|
||||
source $NUWEB_BIN_DIR/../inc/nux-base.inc.sh
|
||||
|
||||
source "$1"
|
||||
1
bin/nweb-run
Symbolic link
1
bin/nweb-run
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
nuweb-run
|
||||
Loading…
Add table
Add a link
Reference in a new issue