mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 15:05:33 +00:00
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
This commit is contained in:
parent
78fa0fc32a
commit
e655425d2c
@ -1,20 +1,18 @@
|
||||
<?php
|
||||
|
||||
class Page extends SiteTree {
|
||||
static $db = array(
|
||||
|
||||
public static $db = array(
|
||||
);
|
||||
static $has_one = array(
|
||||
);
|
||||
|
||||
public static $has_one = array(
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
class Page_Controller extends ContentController {
|
||||
function init() {
|
||||
|
||||
public function init() {
|
||||
parent::init();
|
||||
|
||||
Requirements::themedCSS("layout");
|
||||
Requirements::themedCSS("typography");
|
||||
Requirements::themedCSS("form");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user