From b423c6602723cb45ef8a3b7ba2cd3c45726affaa Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 10 Sep 2014 22:06:50 +0200 Subject: [PATCH] No need for php interpreter again as this script is executable. Signed-off-by: Roland Haeder --- lib/default.php | 2 +- scripts/startdaemons.sh | 2 +- scripts/stopdaemons.sh | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/default.php b/lib/default.php index 150399bb46..24402ffb5e 100644 --- a/lib/default.php +++ b/lib/default.php @@ -143,7 +143,7 @@ $default = 'delete' => false, 'move' => true), 'image' => - array('jpegquality' => 85), + array('jpegquality' => 95), 'avatar' => array('server' => null, 'dir' => PUBLICDIR . '/avatar/', diff --git a/scripts/startdaemons.sh b/scripts/startdaemons.sh index 2ed3528c5e..c4d86053e9 100755 --- a/scripts/startdaemons.sh +++ b/scripts/startdaemons.sh @@ -35,7 +35,7 @@ if [ $# -gt 1 ]; then fi DIR=`dirname $0` -DAEMONS=`php $DIR/getvaliddaemons.php $ARGSG` +DAEMONS=`$DIR/getvaliddaemons.php $ARGSG` for f in $DAEMONS; do diff --git a/scripts/stopdaemons.sh b/scripts/stopdaemons.sh index e725dd0bf0..dd41378a09 100755 --- a/scripts/stopdaemons.sh +++ b/scripts/stopdaemons.sh @@ -39,9 +39,13 @@ if [ $# -gt 1 ]; then fi SDIR=`dirname $0` -DIR=`php $SDIR/getpiddir.php $SITE` +DIR=`$SDIR/getpiddir.php $SITE` +<<<<<<< 15f4fc3b4bad6420ae8fca702b250e5c69ce5632 DAEMONS=`php $SDIR/getvaliddaemons.php $ARGSG` +======= +DAEMONS=`$SDIR/getvaliddaemons.php` +>>>>>>> No need for php interpreter again as this script is executable. for f in $DAEMONS; do f=$(basename $f .php) -- 2.39.5