cvs: pear-core / make-installpear-phar.php

From: Date: Sat, 20 Aug 2005 18:26:11 +0000
Subject: cvs: pear-core / make-installpear-phar.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-3667@lists.php.net to get a copy of this message
cellog Sat Aug 20 14:26:11 2005 EDT Modified files: /pear-core make-installpear-phar.php Log: fix replacement in the index file so that it only includes from within the .phar http://cvs.php.net/diff.php/pear-core/make-installpear-phar.php?r1=1.4&r2=1.5&ty=u Index: pear-core/make-installpear-phar.php diff -u pear-core/make-installpear-phar.php:1.4 pear-core/make-installpear-phar.php:1.5 --- pear-core/make-installpear-phar.php:1.4 Sat Aug 20 00:28:51 2005 +++ pear-core/make-installpear-phar.php Sat Aug 20 14:26:10 2005 @@ -31,7 +31,7 @@ $creator->addFile("PEAR/go-pear-tarballs/$package", "PEAR/go-pear-tarballs/$package"); } $commandcontents = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'install-pear.php'); -$commandcontents = str_replace('require_once \'', 'require_once \'phar://go-pear.phar/', $commandcontents); +$commandcontents = str_replace('include_once \'', 'include_once \'phar://install-pear.phar/', $commandcontents); $creator->addString($commandcontents, 'index.php'); $commandcontents = file_get_contents($peardir . DIRECTORY_SEPARATOR . 'PEAR' .

« previous php.pear.core (#3667) next »