Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
f8a9e620
Commit
f8a9e620
authored
Jun 25, 2007
by
Donal McMullan
Browse files
Move peer.php to the /lib directory
parent
89c35eea
Changes
5
Hide whitespace changes
Inline
Side-by-side
htdocs/api/xmlrpc/dispatcher.php
View file @
f8a9e620
...
...
@@ -110,7 +110,7 @@ class Dispatcher {
}
function
keyswap
(
$function
,
$params
)
{
require_once
(
get_config
(
'
doc
root'
)
.
'
include/eLearning/
peer.php'
);
require_once
(
get_config
(
'
lib
root'
)
.
'peer.php'
);
//TODO: Verify params
(
empty
(
$params
[
0
]))
?
$wwwroot
=
null
:
$wwwroot
=
$params
[
0
];
...
...
htdocs/api/xmlrpc/lib.php
View file @
f8a9e620
...
...
@@ -441,7 +441,7 @@ function get_peer($wwwroot) {
static
$peers
=
array
();
if
(
isset
(
$peers
[
$wwwroot
]))
return
$peers
[
$wwwroot
];
require_once
(
get_config
(
'
doc
root'
)
.
'
include/eLearning/
peer.php'
);
require_once
(
get_config
(
'
lib
root'
)
.
'peer.php'
);
$peer
=
new
Peer
();
if
(
!
$peer
->
findByWwwroot
(
$wwwroot
))
{
...
...
htdocs/auth/xmlrpc/lib.php
View file @
f8a9e620
...
...
@@ -26,7 +26,7 @@
defined
(
'INTERNAL'
)
||
die
();
require_once
(
get_config
(
'docroot'
)
.
'auth/lib.php'
);
require_once
(
get_config
(
'
doc
root'
)
.
'
include/eLearning/
peer.php'
);
require_once
(
get_config
(
'
lib
root'
)
.
'peer.php'
);
require_once
(
get_config
(
'libroot'
)
.
'applicationset.php'
);
require_once
(
get_config
(
'docroot'
)
.
'api/xmlrpc/lib.php'
);
...
...
htdocs/include/eLearning/hostset.php
View file @
f8a9e620
...
...
@@ -27,7 +27,7 @@
// TODO : lib
defined
(
'INTERNAL'
)
||
die
();
require_once
(
get_config
(
'
doc
root'
)
.
'
include/eLearning/
peer.php'
);
require_once
(
get_config
(
'
lib
root'
)
.
'peer.php'
);
class
HostSet
implements
Iterator
{
...
...
htdocs/
include/eLearning
/peer.php
→
htdocs/
lib
/peer.php
View file @
f8a9e620
File moved
Write
Preview
Supports
Markdown
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