mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-04 15:17:42 +02:00
correcting mode-setting in config
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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/',
|
||||
|
@@ -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/',
|
||||
|
Reference in New Issue
Block a user