cvs: docweb / INSTALL.txt /include/rfc rfc.php /www/rfc rfc-proposal-edit.php

From: Date: Mon, 13 Sep 2004 17:02:47 +0000
Subject: cvs: docweb / INSTALL.txt /include/rfc rfc.php /www/rfc rfc-proposal-edit.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-302@lists.php.net to get a copy of this message
vincent Mon Sep 13 13:02:47 2004 EDT Modified files: /docweb INSTALL.txt /docweb/include/rfc rfc.php /docweb/www/rfc rfc-proposal-edit.php Log: Updated install instructions Added some more debug stuff for a devbox and fixing a very small error http://cvs.php.net/diff.php/docweb/INSTALL.txt?r1=1.4&r2=1.5&ty=u Index: docweb/INSTALL.txt diff -u docweb/INSTALL.txt:1.4 docweb/INSTALL.txt:1.5 --- docweb/INSTALL.txt:1.4 Sat Sep 11 19:17:14 2004 +++ docweb/INSTALL.txt Mon Sep 13 13:02:47 2004 @@ -8,7 +8,8 @@ 3. Create the files directory and 'chown www:www files' or the equivalent user who apache runs under. 4. The PEAR packages for the RFC System can be found at include/rfc/PACKAGES -5. Configure the virtual host under apache. Current 'suggested settings' are: +5. A cronjob should be setup to run include/rfc/rfc-cron.php at 4am +6. Configure the virtual host under apache. Current 'suggested settings' are: <VirtualHost 127.0.0.1:80> ServerName doc.php.net http://cvs.php.net/diff.php/docweb/include/rfc/rfc.php?r1=1.8&r2=1.9&ty=u Index: docweb/include/rfc/rfc.php diff -u docweb/include/rfc/rfc.php:1.8 docweb/include/rfc/rfc.php:1.9 --- docweb/include/rfc/rfc.php:1.8 Sun Sep 12 03:39:01 2004 +++ docweb/include/rfc/rfc.php Mon Sep 13 13:02:47 2004 @@ -24,7 +24,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2004 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: rfc.php,v 1.8 2004/09/12 07:39:01 vincent Exp $ + * @version $Id: rfc.php,v 1.9 2004/09/13 17:02:47 vincent Exp $ */ $path = realpath(dirname(__FILE__)); @@ -35,7 +35,12 @@ require_once $path . '/../../include/lib_general.inc.php'; define('PEAR_DATABASE_DSN', 'sqlite:///'.$path.'/../../sqlite/rfc.sqlite'); -define('DEVBOX', false); + +if (isset($_SERVER['DEVBOX']) && $_SERVER['DEVBOX'] == true) { + define('DEVBOX', true); +} else { + define('DEVBOX', false); +} if (empty($dbh)) { $options = array( @@ -178,6 +183,7 @@ } echo '<li>' . htmlspecialchars($msg) . "</li>\n"; } + var_dump($in); echo "</ul></div>\n"; return true; } http://cvs.php.net/diff.php/docweb/www/rfc/rfc-proposal-edit.php?r1=1.12&r2=1.13&ty=u Index: docweb/www/rfc/rfc-proposal-edit.php diff -u docweb/www/rfc/rfc-proposal-edit.php:1.12 docweb/www/rfc/rfc-proposal-edit.php:1.13 --- docweb/www/rfc/rfc-proposal-edit.php:1.12 Sun Sep 12 15:24:07 2004 +++ docweb/www/rfc/rfc-proposal-edit.php Mon Sep 13 13:02:47 2004 @@ -22,7 +22,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2004 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: rfc-proposal-edit.php,v 1.12 2004/09/12 19:24:07 sean Exp $ + * @version $Id: rfc-proposal-edit.php,v 1.13 2004/09/13 17:02:47 vincent Exp $ */ /** @@ -173,11 +173,11 @@ } else { $filecount = (count($filecount) -1); } - } - - if (isset($_POST['submit']) AND !empty($_FILES['thefile']['name'])) - $filecount++; + if (isset($_POST['submit']) AND !empty($_FILES['thefile']['name'])) + $filecount++; + } + $form->addElement('static', '', '', 'You have uploaded '.$filecount.' file(s). To delete, click on the file'); if (!empty($proposal->pkg_filehash)) {

« previous php.doc.web (#302) next »