mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #579 from silverstripe-rebelalliance/open/7523
Open/7523
This commit is contained in:
commit
993fc90ef8
@ -251,7 +251,7 @@ unless the `FullTextSearch` feature is enabled. In order to disable this behavio
|
||||
you have to add the following code to your `_config.php` BEFORE running a `dev/build`:
|
||||
|
||||
:::php
|
||||
DataObject::$create_table_options['MySQLDatabase] = 'ENGINE=MyISAM';
|
||||
DataObject::$create_table_options['MySQLDatabase'] = 'ENGINE=MyISAM';
|
||||
|
||||
As with any SilverStripe upgrade, we recommend database backups before calling `dev/build`.
|
||||
See [mysql.com](http://dev.mysql.com/doc/refman/5.5/en/converting-tables-to-innodb.html) for details on the conversion.
|
||||
|
@ -8,7 +8,7 @@ itself.
|
||||
|
||||
This lack of a configuration-GUI is on purpose, as we'd like to keep developer-level options where they belong (into
|
||||
code), without cluttering up the interface. See this core forum discussion ["The role of the
|
||||
CMS"](http://www.silverstripe.com/core-team-discussion/flat/2723) for further reasoning.
|
||||
CMS"](http://www.silverstripe.org/archive/show/532) for further reasoning.
|
||||
|
||||
In addition to these principle, some settings are
|
||||
* Author-level configuration like interface language or date/time formats can be performed in the CMS "My Profile" section (`admin/myprofile`).
|
||||
@ -39,6 +39,7 @@ incomplete - please add to it** *Try to keep it in alphabetical order too! :)*
|
||||
| BlogEntry::allow_wysiwyg_editing(); | | Enable rich text editing for blog posts. |
|
||||
| ContentNegotiator::set_encoding(string $encoding) | | The encoding charset to use - UTF-8 by default |
|
||||
| ContentNegotiator::disable() | | Disables the negotiation of content type -usually used to stop it from rewriting the DOCTYPE of the document
|
||||
| DataObject::$create_table_options['MySQLDatabase'] = 'ENGINE=MyISAM';| | Set the default database engine to MyISAM (versions 2.4 and below already default to MyISAM) |
|
||||
| Debug::send_errors_to(string $email) | | Send live errors on your site to this address (site has to be in 'live' mode using Director::set_environment_type(live) for this to occur |
|
||||
| Director::set_environment_type(string dev,test,live) | | Sets the environment type (e.g. dev site will show errors, live site hides them and displays a 500 error instead) |
|
||||
| Director::set_dev_servers(array('localhost', 'dev.mysite.com)) | | Set servers that should be run in dev mode (see [debugging](debugging)) |
|
||||
|
Loading…
Reference in New Issue
Block a user