corvée(dépendances) ajoute Carbon Fields
This commit is contained in:
parent
135cc65eed
commit
62368587e5
459 changed files with 72750 additions and 26 deletions
28
web/vendor/htmlburger/carbon-fields/config.php
vendored
Normal file
28
web/vendor/htmlburger/carbon-fields/config.php
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace Carbon_Fields;
|
||||
|
||||
# Define version constant
|
||||
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
|
||||
define( __NAMESPACE__ . '\VERSION', '3.6.5' );
|
||||
}
|
||||
|
||||
# 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' );
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue