diff options
| author | spiderr <spider@viovio.com> | 2010-08-03 13:09:02 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2010-08-03 13:09:02 -0400 |
| commit | d1cfd35861a4b290c7e2bdd15ae0ed956104e911 (patch) | |
| tree | 503b5d28a52cc668176616dc592cdb293836068a /create_config_inc.php | |
| parent | 44925e221ac835f89f3d6c062d320e83e7b38f1b (diff) | |
| download | install-d1cfd35861a4b290c7e2bdd15ae0ed956104e911.tar.gz install-d1cfd35861a4b290c7e2bdd15ae0ed956104e911.tar.bz2 install-d1cfd35861a4b290c7e2bdd15ae0ed956104e911.zip | |
don't use mkdir_p here, since it has not, and cannot be included from kernel_lib yet. instead do a double mkdir
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 5604866..059dace 100644 --- a/create_config_inc.php +++ b/create_config_inc.php @@ -47,7 +47,8 @@ function create_config( $pParamHash ) { } $config_file = empty( $_SERVER['CONFIG_INC'] ) ? '../config/kernel/config_inc.php' : $_SERVER['CONFIG_INC']; - mkdir_p( dirname( $config_file ) ); + mkdir( dirname( dirname( $config_file ) ) ); + mkdir( 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 ); |
