Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
867acb16
Commit
867acb16
authored
Oct 20, 2006
by
Nigel McNie
Committed by
Nigel McNie
Oct 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up language strings being broken for non plugin things.
parent
56400e10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
htdocs/lib/mahara.php
htdocs/lib/mahara.php
+1
-2
No files found.
htdocs/lib/mahara.php
View file @
867acb16
...
...
@@ -26,7 +26,6 @@
defined
(
'INTERNAL'
)
||
die
();
/**
* This function checks core and plugins
* for which need to be upgraded/installed
...
...
@@ -340,7 +339,7 @@ function get_string($identifier, $section='mahara') {
$docroot
=
get_config
(
'docroot'
);
$locations
=
array
();
if
(
$section
==
'mahara'
||
$section
==
'langconfig'
)
{
if
(
false
===
strpos
(
$section
,
'.'
)
)
{
$locations
[]
=
$docroot
.
'lang/'
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment