Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

quote cleanup

  • Loading branch information...
commit 4da015a61e0d10d9db897cec76385730b5dc4ce7 1 parent b127df2
diml authored
View
14 search/indexersplash.php
@@ -14,11 +14,11 @@
* of time, amongst other things.
*/
- /**
- * includes and requires
- */
- require_once('../config.php');
- require_once("{$CFG->dirroot}/search/lib.php");
+/**
+* includes and requires
+*/
+require_once('../config.php');
+require_once($CFG->dirroot.'/search/lib.php');
/// makes inclusions of the Zend Engine more reliable
@@ -33,10 +33,10 @@
}
if (!has_capability('moodle/site:doanything', get_context_instance(CONTEXT_SYSTEM))) {
- error(get_string('beadmin', 'search'), "$CFG->wwwroot/login/index.php");
+ error(get_string('beadmin', 'search'), $CFG->wwwroot.'/login/index.php');
}
- require_once("$CFG->dirroot/search/indexlib.php");
+ require_once($CFG->dirroot.'/search/indexlib.php');
$indexinfo = new IndexInfo();
if ($indexinfo->valid()) {
View
2  search/query.php
@@ -51,7 +51,7 @@
/// check for php5, but don't die yet (see line 52)
- require_once("{$CFG->dirroot}/search/querylib.php");
+ require_once($CFG->dirroot.'/search/querylib.php');
$page_number = optional_param('page', -1, PARAM_INT);
$pages = ($page_number == -1) ? false : true;
View
4 search/tests/index.php
@@ -23,7 +23,7 @@
}
if (!has_capability('moodle/site:doanything', get_context_instance(CONTEXT_SYSTEM))) {
- error("You need to be an admin user to use this page.", "$CFG->wwwroot/login/index.php");
+ error("You need to be an admin user to use this page.", $CFG->wwwroot.'/login/index.php');
} //if
mtrace('<pre>Server Time: '.date('r',time()));
@@ -33,7 +33,7 @@
//fix paths for testing
set_include_path(get_include_path().":../");
- require_once("$CFG->dirroot/search/Zend/Search/Lucene.php");
+ require_once($CFG->dirroot.'/search/Zend/Search/Lucene.php');
mtrace("Checking activity modules:\n");

0 comments on commit 4da015a

Please sign in to comment.
Something went wrong with that request. Please try again.