From: stronk7 Date: Sat, 2 Sep 2006 23:49:02 +0000 (+0000) Subject: Added some used strings X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cb62712c6d92c8d85cf49e21c0a186ad95102b7a;p=moodle.git Added some used strings --- diff --git a/lib/xmldb/classes/XMLDBConstants.php b/lib/xmldb/classes/XMLDBConstants.php index 89bb098c70..f6d38e66d5 100644 --- a/lib/xmldb/classes/XMLDBConstants.php +++ b/lib/xmldb/classes/XMLDBConstants.php @@ -66,4 +66,9 @@ define ('XMLDB_ENUM', true); //If the field is going to be a enumeration of possible fields define ('XMLDB_INDEX_UNIQUE', true); //If the index is going to be unique define ('XMLDB_INDEX_NOTUNIQUE',false); //If the index is NOT going to be unique + +/// Some strings used widely + define ('XMLDB_LINEFEED', "\n"); + define ('XMLDB_PHP_HEADER', ' if ($status && $oldversion < XXXXXXXXXX) {' . XMLDB_LINEFEED); + define ('XMLDB_PHP_FOOTER', ' }' . XMLDB_LINEFEED); ?>