Commit Graph

45 Commits

Author SHA1 Message Date
Colin Tucker
0cbee4b0c2 Changed init() visibility to protected 2017-01-22 09:34:57 +11:00
Robbie Averill
e9a4095c9a PSR-2 compliance: Move PageController class to its own file 2017-01-05 13:07:23 +13:00
Robbie Averill
fb06cc0075 API Change Page_Controller to PageController (PSR-2 compliance) 2017-01-05 13:03:18 +13:00
JorisDebonnet
20740026da Updated link to Requirements doc 2016-09-26 15:10:33 +02:00
Damian Mooyman
3df2ddde13 Upgrade installer 2016-09-07 17:33:14 +12:00
Damian Mooyman
638abc5808
Remove i18n::set_locale from default installer 2016-09-07 16:57:11 +12:00
Damian Mooyman
3fa6f04047 Update for CMS namespace 2016-08-04 14:41:44 +12:00
Damian Mooyman
93f4dd1764 API Support nested themes API (#129) 2016-07-25 17:26:22 +12:00
Damian Mooyman
c55777c9af API Enable friendly error HTTP code by default for new projects 2016-05-18 15:17:43 +12:00
Fred Condo
d80afcf5b6 Correct YAML syntax 2013-12-19 15:04:46 -08:00
jonom
e0ce35217c Removed misleading comments and legacy requirement calls
The instructions in the init() function seem to be at odds with the current documentation which suggests that it is preferable to include requirements in PHP code rather than in templates.

Also the requirement calls here are supposedly included so that older themes still work - but how old are we talking? I would assume that these older themes would not be compatible with SS3.1, and the bundled Simple theme does not need these requirement calls in the init() function, making them redundant.

I am guessing that the Installer is primarily used by people just getting started with SilverStripe, so ideally this bundled example Page.php should provide a clear pathway to best practice SS development, rather than supporting out-dated code.
2013-11-11 09:22:36 +07:00
Sam Minnee
fbb4d1c42b FIX: Update Page/Page_Controller statics to match new 3.1 expectations. 2013-03-25 14:38:58 +13:00
Ingo Schommer
bac9e2fc00 Added mysite/_config/config.yml, removed obsolete PHP config (#8317) 2013-03-21 20:02:42 +01:00
Ingo Schommer
f8762ef204 Removed MySQLDatabase::set_connection_charset() from default config
Its now part of the core default YAML settings
2013-03-15 18:01:50 +01:00
Ingo Schommer
3abd264c30 MINOR Setting new default theme in standard mysite/_config.php 2012-04-03 01:15:10 +02:00
Ingo Schommer
41df04ff2b MINOR Added reset.css include to Page.php in order to fix inclusion order in new default theme 2012-03-26 15:14:07 +02:00
Robert Curry
1b6aac222d MINOR: Make initial mysite/_config.php consistent with the one generated by install.php. 2012-03-09 17:31:51 +13:00
Chris
da2eb7db02 Comment fix in _config.php 2012-02-09 15:36:55 +00:00
Hamish Friedlander
ceb45f9808 BUGFIX: Make default mysite/_config.php work when CMS module isnt installed 2011-10-29 17:04:21 +13:00
sharvey
2ed6a316e7 MINOR Made _config.php work the same way as branches/2.4 phpinstaller
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112969 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-20 02:00:13 +00:00
sminnee
7b040c42ac MINOR Disallowing more potentially active file extensions in mysite/.htaccess (from r108208)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112404 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:16:51 +00:00
sminnee
7d4393910a BUGFIX: Don't allow direct access to PHP files in mysite module. (from r108029)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112398 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:16:18 +00:00
sminnee
4a949635a3 API CHANGE: Removed default search controls; use MySQLFulltextSearchable::enable() instead. (from r101813)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112226 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:28:23 +00:00
sminnee
454d58a04d MINOR phpDoc update for Page (from r100735)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112200 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:24:21 +00:00
sminnee
7f9d4872a7 MINOR Code formatting fixes for default Page pagetype (from r100734)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112199 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:24:17 +00:00
ischommer
317e179cb1 MINOR Added querystring option to Makefile (from r103746)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@103884 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-03 01:32:42 +00:00
ischommer
844acb217d MINOR: Updating mergeinfo to ignore mergebacks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92439 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 00:42:47 +00:00
ischommer
2c15f4b61f MINOR Reverted accidental commits in r71146, r71147, r71148, r71149, r71150, r71151 - thought I was committing to another repository... (from r71152)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92250 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:51:49 +00:00
ischommer
df8dc5f881 BUGFIX: Allow SilverStripe to work when asp_tags is on (from r72337)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92239 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:39:25 +00:00
ischommer
aa780a5e41 ... (from r71151)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92237 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:36:45 +00:00
sminnee
6815399bc5 ENHANCEMENT: Include $allowed_actions by default on new sites, to encourage people to build more secure sites.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@88520 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:47:05 +00:00
sminnee
733d919ec9 ENHANCEMENT: Enable nested urls by default on new projects.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@88519 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:46:16 +00:00
sminnee
8e9ae1d26c ENHANCEMENT: Set connection charset to utf8 for new sites.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@80232 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-27 13:26:54 +00:00
sminnee
64bc774dda MINOR: Reverted r77810
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@78550 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-07 23:41:28 +00:00
wrossiter
bd8ee78f12 MINOR: fixed i18n issue with page comment form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@77810 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 02:05:30 +00:00
sminnee
405f698b34 Make Page.php compatible with asp_tags setting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@73488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-22 04:41:36 +00:00
phalkunz
38cf565913 Added site search to blackcandy. ticket #1884
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@69919 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-08 22:13:29 +00:00
sminnee
abad46e6cb Merged branches/2.3 into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@66396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-22 03:36:31 +00:00
sharvey
97717ba8f0 MINOR Added missing ?> PHP tag to Page.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65613 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-11 20:46:52 +00:00
sminnee
f235497aab Re-added Requirements calls to Page.php for older theme compatability
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65504 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 01:04:45 +00:00
sminnee
e655425d2c Removed Requirements call from controller; these should be put in the template now.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65501 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 00:53:41 +00:00
aoneil
decb17bbd6 Make the installer work with short tags
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-17 00:17:51 +00:00
aoneil
3255bcb4c0 Add css requirements to install files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42167 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 22:49:43 +00:00
aoneil
eaac330b41 Removed old non-themed BlackCandy
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40526 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 04:39:32 +00:00
aoneil
1b921d3e51 Copied black candy into installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@39716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-07 22:41:30 +00:00