cvs: pearweb /cron pepr.php
| From: | Tobias Schlitt | Date: | Sat, 03 Jan 2004 17:58:01 +0000 |
| Subject: | cvs: pearweb /cron pepr.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15311@lists.php.net to get a copy of this message | ||
toby Sat Jan 3 12:58:01 2004 EDT
Modified files:
/pearweb/cron pepr.php
Log:
* Trying to fix include problem
Index: pearweb/cron/pepr.php
diff -u pearweb/cron/pepr.php:1.4 pearweb/cron/pepr.php:1.5
--- pearweb/cron/pepr.php:1.4 Sat Dec 20 04:30:21 2003
+++ pearweb/cron/pepr.php Sat Jan 3 12:58:01 2004
@@ -15,10 +15,11 @@
+----------------------------------------------------------------------+
| Authors: Tobias Schlitt <toby@php.net> |
+----------------------------------------------------------------------+
- $Id: pepr.php,v 1.4 2003/12/20 09:30:21 mj Exp $
+ $Id: pepr.php,v 1.5 2004/01/03 17:58:01 toby Exp $
*/
-
-ini_set("include_path", ini_get("include_path").":../include");
+
+
+ini_set("include_path",
ini_get("include_path").":/usr/local/www/pearweb/include");
require_once('DB.php');
@@ -32,7 +33,7 @@
die ("Failed to connect: $dsn\n");
}
-require_once dirname(__FILE__) . '/../include/pepr/pepr.php';
+require_once 'pepr/pepr.php';
// This checks if a proposal should automatically be finished