diff options
| author | Bitweaver <bitweaver@bitweaver.org> | 2010-06-29 16:15:21 -0400 |
|---|---|---|
| committer | Bitweaver <bitweaver@bitweaver.org> | 2010-06-29 16:15:21 -0400 |
| commit | 44925e221ac835f89f3d6c062d320e83e7b38f1b (patch) | |
| tree | 39fde6c376074264b3c0792d6e69ad8b26b15779 /create_config_inc.php | |
| parent | fed3e009809a27a675dd736100cffc4f38f179c3 (diff) | |
| download | install-44925e221ac835f89f3d6c062d320e83e7b38f1b.tar.gz install-44925e221ac835f89f3d6c062d320e83e7b38f1b.tar.bz2 install-44925e221ac835f89f3d6c062d320e83e7b38f1b.zip | |
move config/kernel_config_inc.php to config/kernel/config_inc.php and now we have some standardized modularity forming for config/<pkg>/blah..., also all non-exec files have _inc.php by convention
Diffstat (limited to 'create_config_inc.php')
| -rw-r--r-- | create_config_inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/create_config_inc.php b/create_config_inc.php index 72d79dd..5604866 100644 --- a/create_config_inc.php +++ b/create_config_inc.php @@ -46,7 +46,8 @@ function create_config( $pParamHash ) { } } - $config_file = empty( $_SERVER['CONFIG_INC'] ) ? '../config/kernel_config.php' : $_SERVER['CONFIG_INC']; + $config_file = empty( $_SERVER['CONFIG_INC'] ) ? '../config/kernel/config_inc.php' : $_SERVER['CONFIG_INC']; + mkdir_p( dirname( $config_file ) ); // We can't call clean_file_path here even though we would like to. $config_file = ( strpos( $_SERVER["SERVER_SOFTWARE"],"IIS" ) ? str_replace( "/", "\\", $config_file ) : $config_file ); |
