|
From: Benjamin C. <bc...@us...> - 2002-04-09 20:44:55
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv23349/admin
Modified Files:
configure.php group.php os.php project.php resolution.php
severity.php status.php user.php
Log Message:
Trying to solve some of this include path craziness
Index: configure.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/configure.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- configure.php 3 Apr 2002 18:18:02 -0000 1.7
+++ configure.php 9 Apr 2002 20:44:52 -0000 1.8
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
$perm->check('Admin');
Index: group.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/group.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- group.php 3 Apr 2002 00:58:26 -0000 1.8
+++ group.php 9 Apr 2002 20:44:52 -0000 1.9
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
function purge_group($groupid = 0) {
global $db;
Index: os.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/os.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- os.php 3 Apr 2002 00:58:26 -0000 1.25
+++ os.php 9 Apr 2002 20:44:52 -0000 1.26
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
function del_item($osid = 0) {
global $db, $me;
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- project.php 4 Apr 2002 13:30:17 -0000 1.38
+++ project.php 9 Apr 2002 20:44:52 -0000 1.39
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
function del_version($versionid, $projectid) {
global $db, $me;
Index: resolution.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- resolution.php 3 Apr 2002 18:24:47 -0000 1.27
+++ resolution.php 9 Apr 2002 20:44:52 -0000 1.28
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
function del_item($resolutionid = 0) {
global $db, $me;
Index: severity.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/severity.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- severity.php 3 Apr 2002 00:58:26 -0000 1.22
+++ severity.php 9 Apr 2002 20:44:52 -0000 1.23
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
function del_item($severityid = 0) {
global $db, $me;
Index: status.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/status.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- status.php 3 Apr 2002 00:58:26 -0000 1.26
+++ status.php 9 Apr 2002 20:44:52 -0000 1.27
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
function del_item($statusid = 0) {
global $db, $me;
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- user.php 3 Apr 2002 00:58:26 -0000 1.46
+++ user.php 9 Apr 2002 20:44:52 -0000 1.47
@@ -22,8 +22,9 @@
// ------------------------------------------------------------------------
// $Id$
+chdir('..');
define('TEMPLATE_PATH', 'admin');
-include '../include.php';
+include 'include.php';
function do_form($userid = 0) {
global $db, $me, $_pv, $STRING, $now, $u, $QUERY, $t;
|