constants.php in Enable CORS trunk, at constants.php
| 1 | <?php |
| 2 | /** |
| 3 | * Constants |
| 4 | * |
| 5 | * @package EnableCors |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'Enable\Cors\SLUG' ) ) { |
| 9 | define( 'Enable\Cors\SLUG', 'enable-cors' ); |
| 10 | } |
| 11 | |
| 12 | if ( ! defined( 'Enable\Cors\VERSION' ) ) { |
| 13 | define( 'Enable\Cors\VERSION', '2.1.0' ); |
| 14 | } |
| 15 | |
| 16 | if ( ! defined( 'Enable\Cors\DIR' ) ) { |
| 17 | define( 'Enable\Cors\DIR', __DIR__ ); |
| 18 | } |
| 19 | |
| 20 | if ( ! defined( 'Enable\Cors\FILE' ) ) { |
| 21 | define( 'Enable\Cors\FILE', __DIR__ . DIRECTORY_SEPARATOR . 'enable-cors.php' ); |
| 22 | } |
| 23 |