mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Changed required templib.php to rsslib.php. This will, at least, allow to
install and use 1.5dev. Not completely, but usable...
This commit is contained in:
parent
e525e3d32f
commit
f516e2b9cf
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ class block_rss_client extends block_base {
|
||||||
function get_content() {
|
function get_content() {
|
||||||
global $CFG, $editing;
|
global $CFG, $editing;
|
||||||
|
|
||||||
require_once($CFG->dirroot .'/rss/templib.php');
|
require_once($CFG->dirroot .'/rss/rsslib.php');
|
||||||
|
|
||||||
if($this->content !== NULL) {
|
if($this->content !== NULL) {
|
||||||
return $this->content;
|
return $this->content;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require_once('../../config.php');
|
require_once('../../config.php');
|
||||||
global $USER, $CFG;
|
global $USER, $CFG;
|
||||||
require($CFG->dirroot .'/rss/templib.php');
|
require($CFG->dirroot .'/rss/rsslib.php');
|
||||||
|
|
||||||
require_login();
|
require_login();
|
||||||
|
|
||||||
|
@ -169,4 +169,4 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
print_footer();
|
print_footer();
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue