From 1773598cee5b90e76aaea68c6e3a1221fce67af8 Mon Sep 17 00:00:00 2001 From: sminnee Date: Sun, 16 Nov 2008 22:15:59 +0000 Subject: [PATCH] MINOR: accidental commit git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.3@65957 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- .htaccess | 15 +++++++++++++++ mysite/code/Page.php | 1 + 2 files changed, 16 insertions(+) diff --git a/.htaccess b/.htaccess index e69de29..10f13ba 100644 --- a/.htaccess +++ b/.htaccess @@ -0,0 +1,15 @@ + +### SILVERSTRIPE START ### + +DirectorySlash Off + + +RewriteEngine On +RewriteBase /phpinstaller + +RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ + +RewriteCond %{REQUEST_URI} ^(.*)$ +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] +### SILVERSTRIPE END ### diff --git a/mysite/code/Page.php b/mysite/code/Page.php index b3825c1..4fb96ae 100755 --- a/mysite/code/Page.php +++ b/mysite/code/Page.php @@ -20,6 +20,7 @@ class Page_Controller extends ContentController { Requirements::themedCSS("layout"); Requirements::themedCSS("typography"); Requirements::themedCSS("form"); + } }