Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. <?php
  2.  
  3. require_once( '../global/loader.php' );
  4.  
  5. $config = array(
  6. 'site' => constant( 'SITE' ),
  7. 'site_path' => constant( 'SITE_PATH' ),
  8. 'bu_path' => constant( 'BU_PATH' ),
  9. 'theme_path' => constant( 'THEME_PATH' ),
  10. 'app_env' => constant( 'APP_ENV' ),
  11. 'asset_path' => Common::getAssetsPrefix(),
  12. 'asset_version' => Common::getAssetsVersion(),
  13. 'fallback_dictionary_path' => defined( 'FALLBACK_DICTIONARY_PATH' ) ? constant( 'FALLBACK_DICTIONARY_PATH' ) : null,
  14. 'dictionary_path' => defined ('DICTIONARY_PATH') ? constant( 'DICTIONARY_PATH' ) : null
  15. );
  16.  
  17. echo json_encode( $config, true );
  18. die;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement