summaryrefslogtreecommitdiff
path: root/create_config_inc.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2009-05-01 15:05:12 +0000
committerwjames5 <will@tekimaki.com>2009-05-01 15:05:12 +0000
commit76898a946cf10e54558af8ea9b2d863e7f8aa11b (patch)
treecd6d5db2c920b8656472f3eba1b17b20a21fcbc5 /create_config_inc.php
parenta695059d292909ac35c532ba091c1867688fd44d (diff)
downloadinstall-76898a946cf10e54558af8ea9b2d863e7f8aa11b.tar.gz
install-76898a946cf10e54558af8ea9b2d863e7f8aa11b.tar.bz2
install-76898a946cf10e54558af8ea9b2d863e7f8aa11b.zip
included thumbnail sizes in config_inc for easy override
Diffstat (limited to 'create_config_inc.php')
-rw-r--r--create_config_inc.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/create_config_inc.php b/create_config_inc.php
index 8e2d336..03dac15 100644
--- a/create_config_inc.php
+++ b/create_config_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/create_config_inc.php,v 1.19 2009/04/09 16:42:53 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/create_config_inc.php,v 1.20 2009/05/01 15:05:12 wjames5 Exp $
* @package install
* @subpackage functions
*/
@@ -170,7 +170,20 @@ define( 'BIT_ROOT_URL', '$bit_root_url' );
// the kernel. In the example provided below, the kernel package is processed
// first, followed by the users and liberty packages. Any packages not specified
// in \$gPreScan are processed in the traditional order
-//\$gPreScan = array( 'kernel', 'storage', 'liberty', 'themes', 'users' );";
+//\$gPreScan = array( 'kernel', 'storage', 'liberty', 'themes', 'users' );
+
+// \$gThumbSizes defines the image thumbnail sizes that will be autogenerated when
+// images are uploaded and processed. The example provided shows the default sizes
+// that are used. You can add as many sizes as you want if you override the default.
+/*
+\$gThumbSizes = array(
+ 'icon' => array( 'width' => 48, 'height' => 48 ),
+ 'avatar' => array( 'width' => 100, 'height' => 100 ),
+ 'small' => array( 'width' => 160, 'height' => 120 ),
+ 'medium' => array( 'width' => 400, 'height' => 300 ),
+ 'large' => array( 'width' => 800, 'height' => 600 ),
+);
+*/";
if( substr( PHP_OS, 0, 3 ) == 'WIN' ) {
$filetowrite .= "