Changeset 4131
- Timestamp:
- 08/30/2006 09:14:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r4072 r4131 203 203 validate_current_theme(); 204 204 define('TEMPLATEPATH', get_template_directory()); 205 define('STYLESHEETPATH', get_stylesheet_directory()); 205 206 206 207 // Load the default text localization domain. … … 213 214 214 215 // Load functions for active theme. 215 if ( file_exists(TEMPLATEPATH . "/functions.php") ) 216 include(TEMPLATEPATH . "/functions.php"); 216 if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists(STYLESHEETPATH . '/functions.php') ) 217 include(STYLESHEETPATH . '/functions.php'); 218 if ( file_exists(TEMPLATEPATH . '/functions.php') ) 219 include(TEMPLATEPATH . '/functions.php'); 217 220 218 221 function shutdown_action_hook() {
Note: See TracChangeset
for help on using the changeset viewer.