From 6b7dbcdd1c1ed8edfa559eee12a6b9f0fc2c5a61 Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 26 May 2011 20:35:28 +0530 Subject: [PATCH] Adding warning message on homepage for misconfigured URL rewriting. Closes #1577 --- app/webroot/css/cake.generic.css | 5 +++++ cake/libs/view/pages/home.ctp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/app/webroot/css/cake.generic.css b/app/webroot/css/cake.generic.css index 4f6f5a2cd..aec911b6f 100644 --- a/app/webroot/css/cake.generic.css +++ b/app/webroot/css/cake.generic.css @@ -532,4 +532,9 @@ div.code-coverage-results span.result-ok { } div.code-coverage-results span.result-good { color: #0a0; +} + +/** Elements **/ +#url-rewriting-warning { + display: none; } \ No newline at end of file diff --git a/cake/libs/view/pages/home.ctp b/cake/libs/view/pages/home.ctp index a5ac078af..09b2bc56e 100644 --- a/cake/libs/view/pages/home.ctp +++ b/cake/libs/view/pages/home.ctp @@ -27,6 +27,11 @@ if (Configure::read() > 0): Debugger::checkSecurityKeys(); endif; ?> +
+ + 1) Help me configure it + 2) I don't / can't use URL rewriting +