Changeset 231 for trunk


Ignore:
Timestamp:
Nov 3, 2003, 11:39:53 PM (21 years ago)
Author:
z0rglub
Message:

define( CONSTANT, 'value' ) becomes define( "CONSTANT", 'value')

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/comments.php

    r228 r231  
    160160$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
    161161//--------------------------------------------------- number of days to display
    162 if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
    163 else                               define( MAX_DAYS, 0 );
     162if ( isset( $_GET['last_days'] ) ) define( "MAX_DAYS", $_GET['last_days'] );
     163else                               define( "MAX_DAYS", 0 );
    164164//----------------------------------------- non specific section initialization
    165165$array_cat_directories = array();
  • trunk/admin/include/isadmin.inc.php

    r226 r231  
    1717 *                                                                         *
    1818 ***************************************************************************/
    19 define( PREFIX_INCLUDE, '' );
     19define( "PREFIX_INCLUDE", '' );
    2020
    2121include_once( './include/config.inc.php' );
  • trunk/admin/stats.php

    r226 r231  
    4343$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
    4444//--------------------------------------------------- number of days to display
    45 if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
    46 else                               define( MAX_DAYS, 0 );
     45if ( isset( $_GET['last_days'] ) ) define( "MAX_DAYS", $_GET['last_days'] );
     46else                               define( "MAX_DAYS", 0 );
    4747
    4848foreach ( $conf['last_days'] as $option ) {
  • trunk/comments.php

    r180 r231  
    141141$vtp->setGlobalVar( $handle, 'text_color', $user['couleur_text'] );
    142142//--------------------------------------------------- number of days to display
    143 if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
    144 else                               define( MAX_DAYS, 0 );
     143if ( isset( $_GET['last_days'] ) ) define( "MAX_DAYS", $_GET['last_days'] );
     144else                               define( "MAX_DAYS", 0 );
    145145//----------------------------------------- non specific section initialization
    146146$array_cat_directories = array();
  • trunk/include/functions.inc.php

    r141 r231  
    319319{
    320320  include( PREFIX_INCLUDE.'./include/mysql.inc.php' );
    321   define( PREFIX_TABLE, $prefixeTable );
     321  define( "PREFIX_TABLE", $prefixeTable );
    322322
    323323  @mysql_connect( $cfgHote, $cfgUser, $cfgPassword )
  • trunk/include/functions_xml.inc.php

    r57 r231  
    1919
    2020//------------------------------------------------------------------ constantes
    21 define( ATT_REG, '\w+' );
    22 define( VAL_REG, '[^"]*' );
     21define( "ATT_REG", '\w+' );
     22define( "VAL_REG", '[^"]*' );
    2323//------------------------------------------------------------------- functions
    2424// getContent returns the content of a tag
  • trunk/include/init.inc.php

    r57 r231  
    1717 *                                                                         *
    1818 ***************************************************************************/
    19 define( PREFIX_INCLUDE, '' );
     19define( "PREFIX_INCLUDE", '' );
    2020
    2121include_once( './include/config.inc.php' );
  • trunk/index.php

    r191 r231  
    1818 ***************************************************************************/
    1919
    20 define( PREFIX_INCLUDE, '' );
     20define( "PREFIX_INCLUDE", '' );
    2121include_once( './include/functions.inc.php' );
    2222database_connection();
Note: See TracChangeset for help on using the changeset viewer.