call CORSHeaders

This commit is contained in:
Isaac Connor 2015-12-02 10:05:27 -05:00
parent 3f8a45bbbb
commit 644080fd41
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ else
require_once( 'includes/lang.php' ); require_once( 'includes/lang.php' );
require_once( 'includes/functions.php' ); require_once( 'includes/functions.php' );
# Add Cross domain access headers
CORSHeaders();
// Check for valid content dirs // Check for valid content dirs
if ( !is_writable(ZM_DIR_EVENTS) || !is_writable(ZM_DIR_IMAGES) ) if ( !is_writable(ZM_DIR_EVENTS) || !is_writable(ZM_DIR_IMAGES) )
{ {