mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR: Updating mergeinfo to ignore mergebacks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92439 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4b3bc1996d
commit
844acb217d
25
.htaccess
25
.htaccess
@ -1,15 +1,16 @@
|
|||||||
### SILVERSTRIPE START ###
|
### SILVERSTRIPE START ###
|
||||||
<Files *.ss>
|
<Files *.ss>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
Allow from 127.0.0.1
|
Allow from 127.0.0.1
|
||||||
</Files>
|
</Files>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteBase /phpinstaller-trunk
|
||||||
RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
|
|
||||||
|
RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
||||||
### SILVERSTRIPE END ###
|
### SILVERSTRIPE END ###
|
@ -1,18 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
global $project;
|
global $project;
|
||||||
$project = 'mysite';
|
$project = 'mysite';
|
||||||
|
|
||||||
global $database;
|
global $database;
|
||||||
$database = "";
|
$database = "SS_phpinstaller_trunk";
|
||||||
|
|
||||||
require_once("conf/ConfigureFromEnv.php");
|
require_once("conf/ConfigureFromEnv.php");
|
||||||
|
|
||||||
MySQLDatabase::set_connection_charset('utf8');
|
MySQLDatabase::set_connection_charset('utf8');
|
||||||
|
|
||||||
// This line set's the current theme. More themes can be
|
// This line set's the current theme. More themes can be
|
||||||
// downloaded from http://www.silverstripe.com/themes/
|
// downloaded from http://www.silverstripe.org/themes/
|
||||||
SSViewer::set_theme('blackcandy');
|
SSViewer::set_theme('blackcandy');
|
||||||
|
|
||||||
// enable nested URLs for this site (e.g. page/sub-page/)
|
// enable nested URLs for this site (e.g. page/sub-page/)
|
||||||
SiteTree::enable_nested_urls();
|
SiteTree::enable_nested_urls();
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user