This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure the destination of fields type. | |
# NOTE : You must at least create the directories where the files will be stored. | |
fields: | |
groups: | |
# example_group : | |
# name: 'Example group' | |
# path: './public/example.php' | |
basic: | |
path: './public/basic-fields.php' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* NOTICE | |
* This code was made to write simple and multi-dimensional arrays in .php files. | |
* It print a whole array as a string and it keeps the exact structure given. | |
* You can use file_put_contents() and pass the output as the 2nd parameter | |
* to have a clean PHP array written in the file of your choice. | |
*/ |