This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: run-tests.php | |
=================================================================== | |
--- run-tests.php (revision 317341) | |
+++ run-tests.php (working copy) | |
@@ -2415,24 +2415,34 @@ | |
function show_redirect_start($tests, $tested, $tested_file) | |
{ | |
- global $html_output, $html_file; | |
+ global $html_output, $html_file, $line_length, $SHOW_ONLY_GROUPS; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Brett Bieber | |
* @desc autoload.php | |
*/ | |
// load PEAR2\Autoload first | |
require_once __DIR__ . '/../PEAR2_Autoload/src/PEAR2/Autoload.php'; | |
// Setup the local source dir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIR=`pwd`'/reproduce_pyrus_make' | |
mkdir $DIR; | |
cd $DIR; | |
git clone 'git://github.com/pyrus/Pyrus.git'; | |
git clone 'git://github.com/pyrus/Pyrus_Developer.git'; | |
git clone 'git://github.com/pear2/PEAR2_Autoload.git'; | |
git clone 'git://github.com/Tyrael/suhosin.git'; | |
ln -s "$DIR/Pyrus_Developer/customcommand/commands.xml" "$DIR/Pyrus/data/local-developer-commands.xml" | |
cd 'Pyrus'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: public_html/release-upload.php | |
=================================================================== | |
--- public_html/release-upload.php (revision 313395) | |
+++ public_html/release-upload.php (working copy) | |
@@ -122,8 +122,8 @@ | |
$errors[] = $pacid->getMessage(); | |
break; | |
} | |
- if (!user::isAdmin($_COOKIE['PEAR_USER']) && | |
- !user::maintains($_COOKIE['PEAR_USER'], $pacid, 'lead')) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: /home/tyrael/checkouts/php-wiki/dokuwiki/lib/plugins/doodle/syntax.php | |
=================================================================== | |
--- /home/tyrael/checkouts/php-wiki/dokuwiki/lib/plugins/doodle/syntax.php (revision 313127) | |
+++ /home/tyrael/checkouts/php-wiki/dokuwiki/lib/plugins/doodle/syntax.php (working copy) | |
@@ -199,9 +199,14 @@ | |
} | |
//FIXME: count($choices) may be different from number of choices in $doodle data! | |
+ $can_vote = false; | |
+ if (count(array_intersect(array('admin', 'phpcvs', 'voting'), $INFO['userinfo']['grps'])) > 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: www/bug.php | |
=================================================================== | |
--- www/bug.php (revision 312577) | |
+++ www/bug.php (working copy) | |
@@ -37,6 +37,14 @@ | |
// Set edit mode | |
$edit = isset($_REQUEST['edit']) ? (int) $_REQUEST['edit'] : 0; | |
+if ($edit && $bug_id < 60000 ) { | |
+ $errors[] = 'Editing old bugs is temporary unavailable!'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = 'http://svn.php.net/viewvc/SVNROOT/global_avail?revision=HEAD&view=co'; | |
$file = file_get_contents($url); | |
$avail_lines = array(); | |
$pattern = '/^avail\|(.*?)\|(.*?)$/sm'; | |
$repos = array(); | |
$users = array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: data.php | |
=================================================================== | |
--- data.php (revision 312067) | |
+++ data.php (working copy) | |
@@ -1,5 +1,6 @@ | |
<?php | |
+require_once "../include/pear-prepend.php"; | |
require_once "DB.php"; | |
require_once "../include/pear-database.php"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: include/pear-format-html.php | |
=================================================================== | |
--- include/pear-format-html.php (revision 312027) | |
+++ include/pear-format-html.php (working copy) | |
@@ -160,8 +160,8 @@ | |
<option value="packages">Packages</option> | |
<option value="site">This site (using Google)</option> | |
<option value="developers">Developers</option> | |
- <option value="pear-dev">Developer mailing list</option> | |
- <option value="pear-cvs">CVS commits mailing list</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install some PEAR dependencies | |
pear install Html_Form Net_Url Net_URL2-beta Pager HTML_Table HTTP HTML_TreeMenu DB | |
# check out the code | |
svn co https://svn.php.net/repository/web/pecl/trunk pecl.php.net | |
# create and configure the vhost | |
# add the following line to the sql/data.php | |
# require_once "../include/pear-prepend.php"; |