mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
define( CONSTANT, 'value' ) becomes define( "CONSTANT", 'value')
git-svn-id: http://piwigo.org/svn/trunk@231 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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" );
|
||||
|
||||
@@ -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
|
||||
//
|
||||
|
||||
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user