mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Changed visibility of i18n::get_owner_module() to public (used in CMSMenu class)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@70015 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6f6e72135c
commit
58638c142e
@ -967,7 +967,7 @@ class i18n extends Object {
|
||||
* @param string $name php class name or template file name
|
||||
* @return string Module where the file is located
|
||||
*/
|
||||
protected static function get_owner_module($name) {
|
||||
public static function get_owner_module($name) {
|
||||
if (substr($name,-3) == '.ss') {
|
||||
global $_TEMPLATE_MANIFEST;
|
||||
$path = str_replace('\\','/',Director::makeRelative(current($_TEMPLATE_MANIFEST[substr($name,0,-3)])));
|
||||
|
Loading…
Reference in New Issue
Block a user