mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
Removed .mergesources.yml, not used since the dark SVN days
This commit is contained in:
parent
2debb0ddfd
commit
744605d21a
@ -20,14 +20,10 @@ ErrorDocument 500 /assets/error-500.html
|
||||
<IfModule mod_rewrite.c>
|
||||
SetEnv HTTP_MOD_REWRITE On
|
||||
RewriteEngine On
|
||||
RewriteBase '/ss-3.0'
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule .* framework/main.php?url=%1 [QSA]
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule . %1/install.php? [R,L]
|
||||
|
||||
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
|
||||
</IfModule>
|
||||
### SILVERSTRIPE END ###
|
||||
|
@ -1,11 +0,0 @@
|
||||
# Data source for the "arb" svn merge tool (see http://github.com/sminnee/arborist).
|
||||
# Keeps track of all opensource branches of submodules
|
||||
# that could be merged back to the current submodule paths.
|
||||
2.3:
|
||||
.: /open/phpinstaller/branches/2.3
|
||||
sapphire: /open/modules/sapphire/branches/2.3
|
||||
cms: /open/modules/cms/branches/2.3
|
||||
2.4:
|
||||
.: /open/phpinstaller/branches/2.4
|
||||
sapphire: /open/modules/sapphire/branches/2.4
|
||||
cms: /open/modules/cms/branches/2.4
|
@ -1,18 +1,21 @@
|
||||
<?php
|
||||
|
||||
global $project;
|
||||
$project = 'mysite';
|
||||
|
||||
global $database;
|
||||
$database = '';
|
||||
|
||||
require_once('conf/ConfigureFromEnv.php');
|
||||
|
||||
MySQLDatabase::set_connection_charset('utf8');
|
||||
|
||||
// Set the current theme. More themes can be downloaded from
|
||||
// http://www.silverstripe.org/themes/
|
||||
SSViewer::set_theme('simple');
|
||||
|
||||
// Enable nested URLs for this site (e.g. page/sub-page/)
|
||||
if(class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
||||
<?php
|
||||
|
||||
global $project;
|
||||
$project = 'mysite';
|
||||
|
||||
global $database;
|
||||
$database = 'SS_ss30';
|
||||
|
||||
require_once('conf/ConfigureFromEnv.php');
|
||||
|
||||
MySQLDatabase::set_connection_charset('utf8');
|
||||
|
||||
// Set the current theme. More themes can be downloaded from
|
||||
// http://www.silverstripe.org/themes/
|
||||
SSViewer::set_theme('simple');
|
||||
|
||||
// Set the site locale
|
||||
i18n::set_locale('en_US');
|
||||
|
||||
// Enable nested URLs for this site (e.g. page/sub-page/)
|
||||
if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
@ -7,6 +7,14 @@ class Page extends SiteTree {
|
||||
public static $has_one = array(
|
||||
);
|
||||
|
||||
function getCMSFields() {
|
||||
$fields = parent::getCMSFields();
|
||||
$fields->findOrMakeTab('Root.Bla.Foo1');
|
||||
$fields->findOrMakeTab('Root.Bla.Foo2');
|
||||
|
||||
return $fields;
|
||||
}
|
||||
|
||||
}
|
||||
class Page_Controller extends ContentController {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user