X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.php;h=e60cbd70d02a12f0284ef974b9d7b4acbd202b12;hb=a2eea0ebfb5a15b80fc0d76be90f4ab453539be0;hp=a1506ecbc4e0a974f75c284d9ea83e497f6479e5;hpb=981eb0d01458cebf032955ef788c8c88a3a99428;p=wfpl-cms.git diff --git a/config.php b/config.php index a1506ec..e60cbd7 100644 --- a/config.php +++ b/config.php @@ -6,15 +6,26 @@ define('WFPL_DB', 'fixme'); define('WFPL_DB_USER', 'fixme'); define('WFPL_DB_PASS', 'fixme'); -# CMS login passwords are stored in the database. See admin_admins.php +# 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'); require_once(DOCROOT . 'inc/wfpl/session_messages.php'); require_once(DOCROOT . 'inc/session_auth.php'); require_once(DOCROOT . 'inc/cms.php'); +require_once(DOCROOT . 'inc/misc.php'); # Connect to the database db_connect(WFPL_DB, WFPL_DB_USER, WFPL_DB_PASS);