Maurits van der Schee 5 anos atrás
pai
commit
25c10f0629
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      install.php

+ 4
- 0
install.php Ver arquivo

1
 <?php
1
 <?php
2
 
2
 
3
+// download composer and install dependencies
4
+
3
 if (!file_exists('composer.phar')) {
5
 if (!file_exists('composer.phar')) {
4
     $composer = file_get_contents('https://getcomposer.org/composer.phar');
6
     $composer = file_get_contents('https://getcomposer.org/composer.phar');
5
     file_put_contents('composer.phar', $composer);
7
     file_put_contents('composer.phar', $composer);
8
     exec('php composer.phar install');
10
     exec('php composer.phar install');
9
 }
11
 }
10
 
12
 
13
+// patch files for PHP 7.0 compatibility
14
+
11
 function patchDir(string $base, string $dir): int
15
 function patchDir(string $base, string $dir): int
12
 {
16
 {
13
     $count = 0;
17
     $count = 0;

Carregando…
Cancelar
Salvar