]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10832 ../config.php was refffering to a bad config file and causing
authorpoltawski <poltawski>
Mon, 13 Aug 2007 12:54:56 +0000 (12:54 +0000)
committerpoltawski <poltawski>
Mon, 13 Aug 2007 12:54:56 +0000 (12:54 +0000)
havoc, have changed to more robust method of reffering to filename

tag/lib.php

index 1693a72aaec561726110ccd7e4b5419349c5f0c4..572bd91fe492030d7b9f36d7cf11a274a3e27f86 100644 (file)
@@ -1,6 +1,6 @@
 <?php // $Id$
 
-require_once('../config.php');
+require_once(dirname(__FILE__) . '/../config.php');
 
 define('DEFAULT_TAG_TABLE_FIELDS', 'id, tagtype, name, rawname, flag');
 /**