Move definition of SEP ahead of class instantiation so that php5 won't barf if we use SEP in one of those classes

This commit is contained in:
Miles Lott 2003-10-19 18:05:27 +00:00
parent ed5e8a5f8e
commit 7c1621ea40

View File

@ -204,6 +204,12 @@
exit; exit;
} }
/****************************************************************************\
* This is a global constant that should be used *
* instead of / or \ in file paths *
\****************************************************************************/
define('SEP',filesystem_separator());
/************************************************************************\ /************************************************************************\
* Required classes * * Required classes *
\************************************************************************/ \************************************************************************/
@ -225,12 +231,6 @@
$GLOBALS['phpgw_info']['flags']['included_classes']['error'] = True; $GLOBALS['phpgw_info']['flags']['included_classes']['error'] = True;
} }
/****************************************************************************\
* This is a global constant that should be used *
* instead of / or \ in file paths *
\****************************************************************************/
define('SEP',filesystem_separator());
/*****************************************************************************\ /*****************************************************************************\
* ACL defines - moved here to work for xml-rpc/soap, also * * ACL defines - moved here to work for xml-rpc/soap, also *
\*****************************************************************************/ \*****************************************************************************/
@ -244,7 +244,6 @@
define('PHPGW_ACL_CUSTOM_2',128); define('PHPGW_ACL_CUSTOM_2',128);
define('PHPGW_ACL_CUSTOM_3',256); define('PHPGW_ACL_CUSTOM_3',256);
/****************************************************************************\ /****************************************************************************\
* Forcing the footer to run when the rest of the script is done. * * Forcing the footer to run when the rest of the script is done. *
\****************************************************************************/ \****************************************************************************/