forked from htmlburger/carbon-fields
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
28 lines (22 loc) · 870 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
namespace Carbon_Fields;
# Define version constant
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
define( __NAMESPACE__ . '\VERSION', '3.4.0-beta.2' );
}
# Define root directory
if ( ! defined( __NAMESPACE__ . '\DIR' ) ) {
define( __NAMESPACE__ . '\DIR', __DIR__ );
}
# Define root URL
if ( ! defined( __NAMESPACE__ . '\URL' ) ) {
define( __NAMESPACE__ . '\URL', Carbon_Fields::directory_to_url( \Carbon_Fields\DIR ) );
}
# Define whether to compact input fields into a single one to avoid hitting max_input_vars
if ( ! defined( __NAMESPACE__ . '\COMPACT_INPUT' ) ) {
define( __NAMESPACE__ . '\COMPACT_INPUT', true );
}
# Define whether to compact input fields into a single one to avoid hitting max_input_vars
if ( ! defined( __NAMESPACE__ . '\COMPACT_INPUT_KEY' ) ) {
define( __NAMESPACE__ . '\COMPACT_INPUT_KEY', 'carbon_fields_compact_input' );
}