Maurits van der Schee 5 years ago
parent
commit
25c10f0629
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      install.php

+ 4
- 0
install.php View File

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

Loading…
Cancel
Save