Ticket #381: install.php.diff
| File install.php.diff, 1.8 KB (added by leandro@…, 6 years ago) |
|---|
-
install.php
515 515 print "Already installed !<br/>"; 516 516 } 517 517 else { 518 require_once (dirname(__FILE__) . '/include/common.php'); 518 519 $output = WIFIDOG_ABS_FILE_PATH."tmp/"; 519 520 //chdir($output); 520 521 list ($url, $filename) = split("=", $smarty_full_url); … … 522 523 print "Download source code ($filename) : "; 523 524 if (!file_exists($output.$filename)) 524 525 Dependency::downloadFile($smarty_full_url, $output.$filename); 525 526 526 527 if (!file_exists($output.$filename)) { 527 528 print "<B STYLE=\"color:red\">Error</b><p>Current working directory : <em>$output</em>"; 528 529 print "<pre><em>wget \"$smarty_full_url\"</em>\n$output</pre>"; … … 575 576 )); 576 577 } 577 578 elseif ($action == 'install') { 578 579 require_once (dirname(__FILE__) . '/include/common.php'); 579 580 print "Download source code frpm svn($filename) : "; 580 581 Dependency::execVerbose("svn co ".escapeshellarg($neededPackages['simplepie']['svn_source'])." ".escapeshellarg(WIFIDOG_ABS_FILE_PATH."lib/simplepie"), $output, $return); 581 582 #Dependency::execVerbose("locale", $output, $return); … … 633 634 )); 634 635 } 635 636 elseif ($action == 'install') { 636 637 require_once (dirname(__FILE__) . '/include/common.php'); 637 638 print "Download source code frpm svn($filename) : "; 638 639 Dependency::execVerbose("svn co ".escapeshellarg($neededPackages['feedpressreview']['svn_source'])." ".escapeshellarg(WIFIDOG_ABS_FILE_PATH."lib/feedpressreview"), $output, $return); 639 640 #Dependency::execVerbose("locale", $output, $return);
