mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Fix typographical errors.
This commit is contained in:
parent
193288a021
commit
d34dca675a
@ -101,7 +101,7 @@ class CMSMenu extends Object implements IteratorAggregate, i18nEntityProvider
|
|||||||
/**
|
/**
|
||||||
* Add an arbitrary URL to the CMS menu.
|
* Add an arbitrary URL to the CMS menu.
|
||||||
*
|
*
|
||||||
* @param string $code A unique identifier (used to create a CSS ID and as it's key in {@link $menu_items}
|
* @param string $code A unique identifier (used to create a CSS ID and its key in {@link $menu_items})
|
||||||
* @param string $menuTitle The link's title in the CMS menu
|
* @param string $menuTitle The link's title in the CMS menu
|
||||||
* @param string $url The url of the link
|
* @param string $url The url of the link
|
||||||
* @param integer $priority The menu priority (sorting order) of the menu item. Higher priorities will be further left.
|
* @param integer $priority The menu priority (sorting order) of the menu item. Higher priorities will be further left.
|
||||||
|
@ -1047,14 +1047,14 @@ require_once('conf/ConfigureFromEnv.php');
|
|||||||
|
|
||||||
MySQLDatabase::set_connection_charset('utf8');
|
MySQLDatabase::set_connection_charset('utf8');
|
||||||
|
|
||||||
// This line set's the current theme. More themes can be
|
// Set the current theme. More themes can be downloaded from
|
||||||
// downloaded from http://www.silverstripe.org/themes/
|
// http://www.silverstripe.org/themes/
|
||||||
SSViewer::set_theme('$theme');
|
SSViewer::set_theme('$theme');
|
||||||
|
|
||||||
// Set the site locale
|
// Set the site locale
|
||||||
i18n::set_locale('$locale');
|
i18n::set_locale('$locale');
|
||||||
|
|
||||||
// enable nested URLs for this site (e.g. page/sub-page/)
|
// Enable nested URLs for this site (e.g. page/sub-page/)
|
||||||
if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
||||||
PHP
|
PHP
|
||||||
);
|
);
|
||||||
@ -1080,14 +1080,14 @@ global \$databaseConfig;
|
|||||||
|
|
||||||
MySQLDatabase::set_connection_charset('utf8');
|
MySQLDatabase::set_connection_charset('utf8');
|
||||||
|
|
||||||
// This line set's the current theme. More themes can be
|
// Set the current theme. More themes can be downloaded from
|
||||||
// downloaded from http://www.silverstripe.org/themes/
|
// http://www.silverstripe.org/themes/
|
||||||
SSViewer::set_theme('$theme');
|
SSViewer::set_theme('$theme');
|
||||||
|
|
||||||
// Set the site locale
|
// Set the site locale
|
||||||
i18n::set_locale('$locale');
|
i18n::set_locale('$locale');
|
||||||
|
|
||||||
// enable nested URLs for this site (e.g. page/sub-page/)
|
// Enable nested URLs for this site (e.g. page/sub-page/)
|
||||||
if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
||||||
PHP
|
PHP
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user