Add date_diff fallback for PHP < 5.3

This commit is contained in:
Brian Miyaji
2014-02-26 17:58:19 +11:00
parent 063e20fb96
commit d13c373183
3 changed files with 106 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ define( 'SPORTSPRESS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
define( 'SPORTSPRESS_PLUGIN_FILE', __FILE__ );
// Libraries
require_once dirname( __FILE__ ) . '/lib/fallbacks/date-diff.php' ;
require_once dirname( __FILE__ ) . '/lib/eos/eos.class.php' ;
// Globals