Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
647b8750
Commit
647b8750
authored
Jun 17, 2015
by
Aaron Wells
Committed by
Jinelle Foley-Barnes
Jun 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete $_SERVER['MAHARA_LIBDIR'] option (Bug 1465882)
Change-Id: Iae1f93c0129c1396aca633756b271fb41360836f
parent
0dee5e35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
htdocs/init.php
htdocs/init.php
+1
-7
No files found.
htdocs/init.php
View file @
647b8750
...
...
@@ -20,13 +20,7 @@ $CFG->docroot = dirname(__FILE__) . DIRECTORY_SEPARATOR;
//array containing site options from database that are overrided by $CFG
$OVERRIDDEN
=
array
();
// Figure out our include path
if
(
!
empty
(
$_SERVER
[
'MAHARA_LIBDIR'
]))
{
$CFG
->
libroot
=
$_SERVER
[
'MAHARA_LIBDIR'
];
}
else
{
$CFG
->
libroot
=
dirname
(
__FILE__
)
.
DIRECTORY_SEPARATOR
.
'lib'
.
DIRECTORY_SEPARATOR
;
}
$CFG
->
libroot
=
dirname
(
__FILE__
)
.
DIRECTORY_SEPARATOR
.
'lib'
.
DIRECTORY_SEPARATOR
;
set_include_path
(
$CFG
->
libroot
.
PATH_SEPARATOR
.
$CFG
->
libroot
.
'pear/'
.
PATH_SEPARATOR
.
get_include_path
());
// Set up error handling
...
...
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