blob: 04bd81b19402e30cce27b0028a4ed17cc84582c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/perl
use CGI;
$cgi=new CGI;
print $cgi->header(
-expires => 'Sat, 26 Jul 1997 05:00:00 GMT',
-Pragma => 'no-cache',
-Cache_Control => join(', ', qw(private no-cache no-store must-revalidate max-age=0 pre-check=0 post-check=0)),
);
print '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Flyspray Install - php composer.phar install</title>
<link media="screen" href="../themes/CleanFS/theme.css" rel="stylesheet" type="text/css" />
</head>
<body style="padding:2em;"><img src="../flyspray.png" style="display:block;margin:auto;">
';
print '<h3>Trying to install packages</h3>';
print '<a class="button" style="text-align:center;margin:auto;min-width:300px;" href="index.php">Go to setup page</a>';
#chdir('..');
@step2= `export COMPOSER_HOME=. ; php composer.phar --working-dir=.. install 2>&1`;
print '<pre>> php composer.phar install</pre>';
print '<pre>';
foreach (@step2) {
print;
}
print '</pre>';
|