mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR Mergeinfo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92260 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
371f6c3c1e
commit
1d6f9318b7
33
.htaccess
33
.htaccess
@ -1,19 +1,20 @@
|
||||
### SILVERSTRIPE START ###
|
||||
<IfModule mod_dir.c>
|
||||
DirectorySlash Off
|
||||
</IfModule>
|
||||
|
||||
<Files *.ss>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
</Files>
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
<IfModule mod_dir.c>
|
||||
DirectorySlash Off
|
||||
</IfModule>
|
||||
|
||||
<Files *.ss>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
</Files>
|
||||
|
||||
RewriteEngine On
|
||||
RewriteBase /phpinstaller-2.4
|
||||
|
||||
RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
||||
### SILVERSTRIPE END ###
|
@ -2,6 +2,7 @@
|
||||
# Keeps track of all opensource branches of submodules
|
||||
# that could be merged back to the current submodule paths.
|
||||
trunk:
|
||||
.: /open/phpinstaller/trunk
|
||||
sapphire: /open/modules/sapphire/trunk
|
||||
cms: /open/modules/cms/trunk
|
||||
jsparty: /open/modules/jsparty/trunk
|
@ -1,18 +1,18 @@
|
||||
<?php
|
||||
|
||||
global $project;
|
||||
$project = 'mysite';
|
||||
|
||||
global $database;
|
||||
$database = "";
|
||||
|
||||
require_once("conf/ConfigureFromEnv.php");
|
||||
|
||||
MySQLDatabase::set_connection_charset('utf8');
|
||||
|
||||
// This line set's the current theme. More themes can be
|
||||
// downloaded from http://www.silverstripe.com/themes/
|
||||
SSViewer::set_theme('blackcandy');
|
||||
|
||||
// enable nested URLs for this site (e.g. page/sub-page/)
|
||||
<?php
|
||||
|
||||
global $project;
|
||||
$project = 'mysite';
|
||||
|
||||
global $database;
|
||||
$database = "SS_phpinstaller_24";
|
||||
|
||||
require_once("conf/ConfigureFromEnv.php");
|
||||
|
||||
MySQLDatabase::set_connection_charset('utf8');
|
||||
|
||||
// This line set's the current theme. More themes can be
|
||||
// downloaded from http://www.silverstripe.org/themes/
|
||||
SSViewer::set_theme('blackcandy');
|
||||
|
||||
// enable nested URLs for this site (e.g. page/sub-page/)
|
||||
SiteTree::enable_nested_urls();
|
Loading…
Reference in New Issue
Block a user