diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 2 | ||||
-rw-r--r-- | include/functions_xml.inc.php | 4 | ||||
-rw-r--r-- | include/init.inc.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 5eeb2f4a7..1d7c2aaec 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -318,7 +318,7 @@ function replace_search( $string, $search ) function database_connection() { include( PREFIX_INCLUDE.'./include/mysql.inc.php' ); - define( PREFIX_TABLE, $prefixeTable ); + define( "PREFIX_TABLE", $prefixeTable ); @mysql_connect( $cfgHote, $cfgUser, $cfgPassword ) or die ( "Could not connect to server" ); diff --git a/include/functions_xml.inc.php b/include/functions_xml.inc.php index 12cc82787..034b49512 100644 --- a/include/functions_xml.inc.php +++ b/include/functions_xml.inc.php @@ -18,8 +18,8 @@ ***************************************************************************/ //------------------------------------------------------------------ constantes -define( ATT_REG, '\w+' ); -define( VAL_REG, '[^"]*' ); +define( "ATT_REG", '\w+' ); +define( "VAL_REG", '[^"]*' ); //------------------------------------------------------------------- functions // getContent returns the content of a tag // diff --git a/include/init.inc.php b/include/init.inc.php index 87059e4c9..1bcc96ae0 100644 --- a/include/init.inc.php +++ b/include/init.inc.php @@ -16,7 +16,7 @@ * the Free Software Foundation; * * * ***************************************************************************/ -define( PREFIX_INCLUDE, '' ); +define( "PREFIX_INCLUDE", '' ); include_once( './include/config.inc.php' ); include_once( './include/user.inc.php' ); |