Supposedly "define" determines a constant. Yet in lines 42 and 31 below the constant name refers to a folder.
How does this syntax work? What does it cause to happen within an application.
Supposedly the "require" statement identifies a file. But in line 33 the file "database_tables.php" is identified by two proceeding constant names. Similarly in line 52 the file "header.php" is identified by one proceeding constant name. Presumably in both cases the constants had been set to some value before they were prefixed to the file name. How does this syntax work?
Line #33 : require(DIR_FS_CATALOG . DIR_WS_INCLUDES . 'database_tables.php');
Line #42 : define('DIR_WS_INCLUDES', 'includes/');
Line #52 : require(DIR_WS_INCLUDES . 'header.php');
Line #31 : define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
Thanks for taking the time to consider this. It's elementary to someone, but not myself.