We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0042c58 commit cbf2872Copy full SHA for cbf2872
url.php
@@ -22,8 +22,7 @@
22
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23
*/
24
require(dirname(dirname(dirname(dirname(__FILE__)))).'/config.php');
25
-require_once($CFG->libdir . '/adminlib.php');
26
-require_once('locallib.php');
+require_once(__DIR__ . '/locallib.php');
27
28
$url = required_param('url', PARAM_RAW);
29
echo tool_crawler_url_create_page($url);
0 commit comments