svn: /pear/pearweb/trunk/public_html/ go-pear
[email protected] (Helgi Þormar Þorbjörnsson) Sun, 27 Feb 2011 23:00:05 +0000
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
dufuz Sun, 27 Feb 2011 23:00:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308739
Log:
Fixed Bug #18132: Write binary file when creating Structures_Graph [dufuz]
Fixed Bug #18211: go-pear.php fails due to permission problems [dufuz]
Bugs: http://pear.php.net/bugs/18132 (unknown)
http://pear.php.net/bugs/18211 (unknown)
Changed paths:
U pear/pearweb/trunk/public_html/go-pear
Modified: pear/pearweb/trunk/public_html/go-pear
===================================================================
--- pear/pearweb/trunk/public_html/go-pear 2011-02-27 21:51:51 UTC (rev 308738)
+++ pear/pearweb/trunk/public_html/go-pear 2011-02-27 23:00:05 UTC (rev 308739)
@@ -106,7 +106,7 @@
$bootstrap_files = array(
'PEAR.php' => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/PEAR.php?view=co',
- 'Archive/Tar.php' => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_2/Archive/Tar.php?view=co',
+ 'Archive/Tar.php' => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/Archive_Tar-1.3.7/Archive/Tar.php?view=co',
'Console/Getopt.php' => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/Console/Getopt.php?view=co',
);
@@ -248,7 +248,7 @@
displayHTML('config');
exit();
}
- // Anything past this step has something to do with the installation
+ // Anything past this step has something to do with the installation
}
if (!WEBINSTALLER) {
@@ -693,7 +693,7 @@
$noextract = false;
if (is_dir($php_dir)) {
$noextract = @include_once 'PEAR/Registry.php';
-
+
if ($noextract) {
$registry = new PEAR_Registry($php_dir);
foreach ($bootstrap_pkgs as $pkg) {
@@ -792,7 +792,7 @@
displayHTMLProgress($progress += round(50 / count($to_install)));
continue;
}
-
+
$pkg_basename = substr($pkg, 0, strpos($pkg, '-'));
if (in_array($pkg_basename, $bootstrap_pkgs)) {
print(str_pad("Installing bootstrap package: $pkg_basename", max(50,30+strlen($pkg_basename)+4), '.')."...");
@@ -936,7 +936,7 @@
$webfrontend_file
);
print "ok\n";
-
+
if ($_GET['step'] == 'install-progress') {
displayHTMLProgress($progress = 100);
ob_end_clean();
@@ -1101,7 +1101,7 @@
displayHTMLDownloadProgress(100);
fclose($fp);
fclose($wp);
-
+
displayHTMLSetDownload('');
return $destfile;
}
@@ -1727,7 +1727,7 @@
} elseif (!array_key_exists($page, $menus)) {
$page = 'Welcome';
}
-
+
foreach ($menus as $menu => $descr) {
print('<img src="'.basename(__FILE__).'?action=img&img=smallpear" alt="" />');
@@ -1886,7 +1886,7 @@
$var,
$_SESSION['go-pear']['config'][$var],
$error_class);
-
+
// prefix dir, check perm (uses GLOBALS: resolved subvars)
if ($n == 1 && is_dir($GLOBALS[$var]) && !is_writable($GLOBALS[$var])) {
$error = '<em>WARNING!</em> No permission to create subdirectories in this prefix dir. Unless you fix this, the default configuration will not work.';
@@ -1896,8 +1896,8 @@
}
print('<tr><td colspan="2" class="green">'.$error.'</td></tr>');
}
-
+
if (is_array($GLOBALS['config_errors']) && array_key_exists($var, $GLOBALS['config_errors'])) {
// www_error for this var
print('<tr><td colspan="2" class="red">'.$GLOBALS['config_errors'][$var].'</td></tr>');
@@ -1907,7 +1907,7 @@
</table>
</p>
<hr />
-
+
<!-- Optional stuff -->
<span class="title">Optional:</span>