From a287b1b1a55b81fb42e3ef22a44c7d6a5e5b0941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Wed, 30 Jul 2014 20:04:09 +0200 Subject: [PATCH] Fixed Footer "always bottom" --- www/css/styles.css | 2 ++ www/index.php | 4 ++-- www/protected/views/layouts/main.php | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www/css/styles.css b/www/css/styles.css index 9640983..47dcd20 100644 --- a/www/css/styles.css +++ b/www/css/styles.css @@ -14,7 +14,9 @@ body { #fullbodywrapper { min-height:100%; position:relative; +} +#fullcontentwrapper { padding-bottom: 120px; } diff --git a/www/index.php b/www/index.php index e5f7b6e..500ee99 100644 --- a/www/index.php +++ b/www/index.php @@ -5,9 +5,9 @@ $yii=dirname(__FILE__).'/../framework/yii.php'; $config=dirname(__FILE__).'/protected/config/main.php'; // remove the following lines when in production mode -#defined('YII_DEBUG') or define('YII_DEBUG',true); +defined('YII_DEBUG') or define('YII_DEBUG',true); // dev or prod - merges settings with respective file -defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'prod'); +defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'dev'); require_once($yii); Yii::createWebApplication($config)->run(); diff --git a/www/protected/views/layouts/main.php b/www/protected/views/layouts/main.php index c71948a..cd8d128 100644 --- a/www/protected/views/layouts/main.php +++ b/www/protected/views/layouts/main.php @@ -85,9 +85,11 @@ } ?> +
+