X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=config.php;h=e60cbd70d02a12f0284ef974b9d7b4acbd202b12;hp=f5c078ef5f065069dfa71ea79b3d9d3fb00c593c;hb=e7424acd48ed670f1b8bd8d7c1ff69b37ce6334b;hpb=c5e948d7d2af9b5e052a7173ebbd8c907e3d6fab diff --git a/config.php b/config.php index f5c078e..e60cbd7 100644 --- a/config.php +++ b/config.php @@ -9,6 +9,16 @@ define('WFPL_DB_PASS', 'fixme'); # CMS login passwords are stored in the database. See admin_users.php date_default_timezone_set('America/New_York'); +# If you change these, update style.styl too +define('WFPL_IMAGE_WIDTH_FULL', 900); +define('WFPL_IMAGE_WIDTH_SMALL', 336); # this is "sidebar_width" in style.styl +define('WFPL_IMAGE_WIDTH_THUMB', 70); +$GLOBALS['wfpl_image_widths'] = array( + WFPL_IMAGE_WIDTH_FULL, + WFPL_IMAGE_WIDTH_SMALL, + WFPL_IMAGE_WIDTH_THUMB +); + # Enable features, auto-includes require_once(DOCROOT . 'inc/wfpl/format.php'); require_once(DOCROOT . 'inc/wfpl/db.php');