Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-18672 and MDL-18679 fixed. DIRECTORY_SEPARATOR / PATH_SEPARATOR m…

…ismatch
  • Loading branch information...
commit c2b308cfc051510ef3926e6561015bbf2b92c02d 1 parent 191e741
diml authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 search/tests/index.php
4 search/tests/index.php
@@ -11,10 +11,10 @@
11 11 @ob_end_flush();
12 12
13 13 require_once('../../config.php');
14   - require_once("$CFG->dirroot/search/lib.php");
  14 + require_once($CFG->dirroot.'/search/lib.php');
15 15
16 16 /// makes inclusions of the Zend Engine more reliable
17   - ini_set('include_path', $CFG->dirroot.PATH_SEPARATOR.'search'.PATH_SEPARATOR.ini_get('include_path'));
  17 + ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.PATH_SEPARATOR.ini_get('include_path'));
18 18
19 19 require_login();
20 20

0 comments on commit c2b308c

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