mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 01:34:31 +02:00
Remove site profiles: site-classic, site-default, site-beginner, site-languages, site-regular... leaving just site-blank. The other profiles have been moved to their own repos. Also some small updates to site-blank profile just so the template files are slightly more useful if someone doesn't install another.
This commit is contained in:
17
site-blank/init.php
Normal file
17
site-blank/init.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php namespace ProcessWire;
|
||||
|
||||
if(!defined("PROCESSWIRE")) die();
|
||||
|
||||
/**
|
||||
* ProcessWire Bootstrap Initialization
|
||||
* ====================================
|
||||
* This init.php file is called during ProcessWire bootstrap initialization process.
|
||||
* This occurs after all autoload modules have been initialized, but before the current page
|
||||
* has been determined. This is a good place to attach hooks. You may place whatever you'd
|
||||
* like in this file. For example:
|
||||
*
|
||||
* $wire->addHookAfter('Page::render', function($event) {
|
||||
* $event->return = str_replace("</body>", "<p>Hello World</p></body>", $event->return);
|
||||
* });
|
||||
*
|
||||
*/
|
Reference in New Issue
Block a user