From eb0fc690362e65ff9d346ee9f59570d5af144cd2 Mon Sep 17 00:00:00 2001 From: Mikael Roos Date: Mon, 2 Feb 2015 12:43:01 +0100 Subject: [PATCH] correcting mode-setting in config --- create-img-single.bash | 4 ++-- webroot/imgd.php | 2 +- webroot/imgs.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/create-img-single.bash b/create-img-single.bash index c5ee72c..e57fa24 100755 --- a/create-img-single.bash +++ b/create-img-single.bash @@ -52,8 +52,8 @@ read answer # Create the $TARGET_? files # cat webroot/img_header.php > $TARGET_P -cat webroot/img_header.php | sed "s|//'mode' => 'production'|'mode' => 'development'|" > $TARGET_D -cat webroot/img_header.php | sed "s|//'mode' => 'production'|'mode' => 'strict'|" > $TARGET_S +cat webroot/img_header.php | sed "s|//'mode' => 'production',|//'mode' => 'development',|" > $TARGET_D +cat webroot/img_header.php | sed "s|//'mode' => 'production',|//'mode' => 'development',|" > $TARGET_S $ECHO "$NEWLINES" | tee -a $TARGET_D $TARGET_P $TARGET_S > /dev/null diff --git a/webroot/imgd.php b/webroot/imgd.php index dd6e7b0..8941a64 100644 --- a/webroot/imgd.php +++ b/webroot/imgd.php @@ -25,7 +25,7 @@ */ $config = array( - //'mode' => 'production', // 'production', 'development', 'strict' + //'mode' => 'development', // 'production', 'development', 'strict' //'image_path' => __DIR__ . '/img/', //'cache_path' => __DIR__ . '/../cache/', //'alias_path' => __DIR__ . '/img/alias/', diff --git a/webroot/imgs.php b/webroot/imgs.php index dd6e7b0..8941a64 100644 --- a/webroot/imgs.php +++ b/webroot/imgs.php @@ -25,7 +25,7 @@ */ $config = array( - //'mode' => 'production', // 'production', 'development', 'strict' + //'mode' => 'development', // 'production', 'development', 'strict' //'image_path' => __DIR__ . '/img/', //'cache_path' => __DIR__ . '/../cache/', //'alias_path' => __DIR__ . '/img/alias/',