mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
detect empty .htconfig.php - in case permissions need to be set on it in order to install
This commit is contained in:
parent
c40944fc86
commit
041f3ca774
2 changed files with 3 additions and 3 deletions
2
boot.php
2
boot.php
|
@ -3,7 +3,7 @@
|
|||
set_time_limit(0);
|
||||
|
||||
define ( 'BUILD_ID', 1039 );
|
||||
define ( 'FRIENDIKA_VERSION', '2.10.0909' );
|
||||
define ( 'FRIENDIKA_VERSION', '2.10.0910' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.1' );
|
||||
|
||||
define ( 'EOL', "<br />\r\n" );
|
||||
|
|
|
@ -19,11 +19,11 @@ $a = new App;
|
|||
/**
|
||||
*
|
||||
* Load the configuration file which contains our DB credentials.
|
||||
* Ignore errors. If the file doesn't exist, we are running in installation mode.
|
||||
* Ignore errors. If the file doesn't exist or is empty, we are running in installation mode.
|
||||
*
|
||||
*/
|
||||
|
||||
$install = ((file_exists('.htconfig.php')) ? false : true);
|
||||
$install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false : true);
|
||||
|
||||
@include(".htconfig.php");
|
||||
|
||||
|
|
Loading…
Reference in a new issue