|
From: Benjamin C. <bc...@us...> - 2001-08-23 01:39:06
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv6248
Modified Files:
component.php os.php project.php resolution.php severity.php
status.php user.php version.php
Log Message:
Hmm... I think I like it better this way -- still, a cleaner way would be nice
Index: component.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/component.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- component.php 2001/08/23 01:32:05 1.9
+++ component.php 2001/08/23 01:39:03 1.10
@@ -22,8 +22,8 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($componentid = 0) {
global $q, $me, $projectid, $name, $description, $owner, $active, $u, $STRING;
Index: os.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/os.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- os.php 2001/08/23 01:32:05 1.9
+++ os.php 2001/08/23 01:39:03 1.10
@@ -22,8 +22,8 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($osid = 0) {
global $q, $me, $fname, $fregex, $fsortorder, $STRING;
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- project.php 2001/08/23 01:32:05 1.11
+++ project.php 2001/08/23 01:39:03 1.12
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+#ini_set('include_path', '../'.ini_get('include_path'));
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($projectid = 0) {
global $q, $me, $name, $description, $active, $version, $u, $STRING, $now;
Index: resolution.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- resolution.php 2001/08/23 01:32:05 1.10
+++ resolution.php 2001/08/23 01:39:03 1.11
@@ -22,8 +22,8 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($resolutionid = 0) {
global $q, $me, $fname, $fdescription, $fsortorder, $STRING;
Index: severity.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/severity.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- severity.php 2001/08/23 01:32:05 1.3
+++ severity.php 2001/08/23 01:39:03 1.4
@@ -22,8 +22,8 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($severityid = 0) {
global $q, $me, $fname, $fdescription, $fsortorder, $fcolor, $STRING;
Index: status.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/status.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- status.php 2001/08/23 01:32:05 1.10
+++ status.php 2001/08/23 01:39:03 1.11
@@ -22,8 +22,8 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($statusid = 0) {
global $q, $me, $fname, $fdescription, $fsortorder, $STRING;
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- user.php 2001/08/23 01:32:05 1.15
+++ user.php 2001/08/23 01:39:03 1.16
@@ -22,8 +22,8 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($userid = 0) {
global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING, $now;
Index: version.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/version.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- version.php 2001/08/23 01:32:05 1.10
+++ version.php 2001/08/23 01:39:03 1.11
@@ -22,8 +22,8 @@
// ------------------------------------------------------------------------
// $Id$
-ini_set('include_path', '../'.ini_get('include_path'));
-include 'include.php';
+define('INCLUDE_PATH', '../');
+include INCLUDE_PATH.'include.php';
function do_form($versionid = 0) {
global $q, $me, $projectid, $version, $active, $STRING, $now, $u;
|