aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-01-03 19:15:32 +0000
committerz0rglub <z0rglub@piwigo.org>2004-01-03 19:15:32 +0000
commit6e37792053eef031b2f6381c9b612aa95153d76f (patch)
treeafd63f1294a909f3bfdfb6b3753072d25000d2d0
parentdebe8bfc452903738cbfbef4b6f2b59beeb5a383 (diff)
use correct define syntax
git-svn-id: http://piwigo.org/svn/branches/release-1_3@237 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions_xml.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/functions_xml.inc.php b/include/functions_xml.inc.php
index 12cc82787..482acff73 100644
--- a/include/functions_xml.inc.php
+++ b/include/functions_xml.inc.php
@@ -16,10 +16,9 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-
//------------------------------------------------------------------ constantes
-define( ATT_REG, '\w+' );
-define( VAL_REG, '[^"]*' );
+define( 'ATT_REG', '\w+' );
+define( 'VAL_REG', '[^"]*' );
//------------------------------------------------------------------- functions
// getContent returns the content of a tag
//