[phpMP-CVS] CVS: phpMP/includes functions.php,1.17,1.18
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2003-02-06 01:50:36
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv26625 Modified Files: functions.php Log Message: Oops. Wrong statement. Index: functions.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/functions.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** functions.php 4 Feb 2003 21:43:22 -0000 1.17 --- functions.php 6 Feb 2003 01:50:32 -0000 1.18 *************** *** 1 **** ! <?php // Defines constants whose contents may be questionable. // Author: Brian 'Heimidal' Rose // Accepts: none. // Returns: none. function createConstants() { if( defined( "U_DATE_FORMAT" ) ) { define( "C_DATE_FORMAT", U_DATE_FORMAT ); } else { define( "C_DATE_FORMAT", C_DEFAULT_DATE_FORMAT ); } } ?> \ No newline at end of file --- 1,21 ---- ! <?php ! ! // Defines constants whose contents may be questionable. ! // Author: Brian 'Heimidal' Rose ! // Accepts: none. ! // Returns: none. ! function createConstants() ! { ! ! if( U_DATE_FORMAT != '' ) ! { ! define( "C_DATE_FORMAT", U_DATE_FORMAT ); ! } ! else ! { ! define( "C_DATE_FORMAT", C_DEFAULT_DATE_FORMAT ); ! } ! ! } ! ! ?> \ No newline at end of file |