|
From: Benjamin C. <bc...@us...> - 2001-08-07 13:50:10
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv14990
Modified Files:
bug.php images.php index.php logout.php newaccount.php
query.php report.php user.php
Log Message:
Move session start code to include.php
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- bug.php 2001/07/21 03:03:05 1.16
+++ bug.php 2001/08/07 13:50:07 1.17
@@ -4,9 +4,6 @@
include 'include.php';
-page_open(array('sess' => 'usess', 'auth' => 'uauth', 'perm' => 'uperm'));
-$u = $auth->auth['uid'];
-
///
/// Show the activity for a bug
function show_history($bugid) {
Index: images.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/images.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- images.php 2001/08/03 03:50:28 1.1
+++ images.php 2001/08/07 13:50:07 1.2
@@ -2,7 +2,7 @@
// images.php - Draw graphs using jpgraph
-define ('JPGRAPH_PATH', '/home/bcurtis/public_html/jp/');
+define ('NO_AUTH',1);
include 'include.php';
include JPGRAPH_PATH.'jpgraph.php';
Index: index.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/index.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- index.php 2001/08/06 03:28:32 1.6
+++ index.php 2001/08/07 13:50:07 1.7
@@ -4,8 +4,6 @@
include 'include.php';
-page_open(array('sess' => 'usess'));
-
$t->set_file(array(
'wrap' => 'wrap.html',
'content' => 'index.html'
Index: logout.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/logout.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- logout.php 2001/08/01 22:08:07 1.2
+++ logout.php 2001/08/07 13:50:07 1.3
@@ -4,8 +4,6 @@
include 'include.php';
-page_open(array('sess' => 'usess', 'auth' => 'uauth'));
-
$auth->unauth();
include 'templates/'.THEME.'logout.html';
Index: newaccount.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/newaccount.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- newaccount.php 2001/07/30 13:47:33 1.6
+++ newaccount.php 2001/08/07 13:50:07 1.7
@@ -49,4 +49,6 @@
$t->pparse('main',array('content','wrap','main'));
+page_close();
+
?>
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- query.php 2001/07/21 03:03:05 1.8
+++ query.php 2001/08/07 13:50:07 1.9
@@ -4,9 +4,6 @@
include 'include.php';
-page_open(array('sess' => 'usess', 'auth' => 'uauth'));
-$u = $auth->auth['uid'];
-
function delete_saved_query($queryid) {
global $q, $u, $me;
Index: report.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/report.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- report.php 2001/08/06 03:28:32 1.7
+++ report.php 2001/08/07 13:50:07 1.8
@@ -4,9 +4,6 @@
include 'include.php';
-page_open(array('sess' => 'usess', 'auth' => 'uauth', 'perm' => 'uperm'));
-$u = $auth->auth['uid'];
-
function resolution_by_engineer($projectid = 0) {
global $q, $t;
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/user.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- user.php 2001/08/05 03:52:56 1.3
+++ user.php 2001/08/07 13:50:07 1.4
@@ -4,10 +4,6 @@
include 'include.php';
-page_open(array('sess' => 'usess', 'auth' => 'uauth', 'perm' => 'uperm'));
-
-$u = $auth->auth['uid'];
-
function change_password($pass1, $pass2) {
global $t, $q, $u, $STRING;
|