From 009039afdc934549022e01f7de0348cffb17556a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 10 Jul 2005 21:45:26 +0000 Subject: [PATCH] r303: Added SVN constant to user files; now ISSO debug information shows SVN details. --- attachment.php | 2 ++ editcomment.php | 2 ++ editreport.php | 2 ++ favourite.php | 2 ++ index.php | 2 ++ login.php | 2 ++ newcomment.php | 2 ++ newreport.php | 2 ++ register.php | 2 ++ search.php | 2 ++ showhistory.php | 2 ++ showreport.php | 2 ++ viewattachment.php | 2 ++ vote.php | 2 ++ 14 files changed, 28 insertions(+) diff --git a/attachment.php b/attachment.php index 6e07e34..8d9cb65 100755 --- a/attachment.php +++ b/attachment.php @@ -15,6 +15,8 @@ $fetchtemplates = array( 'editattach' ); +define('SVN', '$Id$'); + require_once('./global.php'); if (isset($bugsys->in['attachmentid'])) diff --git a/editcomment.php b/editcomment.php index dc3f105..0a85ddb 100644 --- a/editcomment.php +++ b/editcomment.php @@ -14,6 +14,8 @@ $fetchtemplates = array( 'editcomment' ); +define('SVN', '$Id$'); + require_once('./global.php'); $comment = $db->query_first(" diff --git a/editreport.php b/editreport.php index 7eb8b94..e25c2c0 100644 --- a/editreport.php +++ b/editreport.php @@ -15,6 +15,8 @@ $fetchtemplates = array( 'pcv_select_row' ); +define('SVN', '$Id$'); + require_once('./global.php'); $bug = $db->query_first(" diff --git a/favourite.php b/favourite.php index bbad2e2..d6c770a 100644 --- a/favourite.php +++ b/favourite.php @@ -10,6 +10,8 @@ || ################################################################### || \*=====================================================================*/ +define('SVN', '$Id$'); + require_once('./global.php'); if (!$bugsys->userinfo['userid']) diff --git a/index.php b/index.php index 77ced64..15773b5 100644 --- a/index.php +++ b/index.php @@ -15,6 +15,8 @@ $fetchtemplates = array( 'trackerhome_bits' ); +define('SVN', '$Id$'); + require_once('./global.php'); if (!can_perform('canviewbugs')) diff --git a/login.php b/login.php index a2adcc1..4340c0a 100755 --- a/login.php +++ b/login.php @@ -14,6 +14,8 @@ $fetchtemplates = array( 'login' ); +define('SVN', '$Id$'); + require_once('./global.php'); // ################################################################### diff --git a/newcomment.php b/newcomment.php index fcdb10d..52d033e 100644 --- a/newcomment.php +++ b/newcomment.php @@ -14,6 +14,8 @@ $fetchtemplates = array( 'newcomment' ); +define('SVN', '$Id$'); + require_once('./global.php'); if (!can_perform('canpostcomments')) diff --git a/newreport.php b/newreport.php index 766be86..f3c830a 100755 --- a/newreport.php +++ b/newreport.php @@ -15,6 +15,8 @@ $fetchtemplates = array( 'pcv_select_row' ); +define('SVN', '$Id$'); + require_once('./global.php'); if (!can_perform('cansubmitbugs')) diff --git a/register.php b/register.php index 84aef95..0fad45d 100755 --- a/register.php +++ b/register.php @@ -14,6 +14,8 @@ $fetchtemplates = array( 'register' ); +define('SVN', '$Id$'); + require_once('./global.php'); // ################################################################### diff --git a/search.php b/search.php index c550386..5f9e733 100644 --- a/search.php +++ b/search.php @@ -15,6 +15,8 @@ $fetchtemplates = array( 'search_results' ); +define('SVN', '$Id$'); + require_once('./global.php'); if (!can_perform('cansearch')) diff --git a/showhistory.php b/showhistory.php index 68195b8..d10212b 100644 --- a/showhistory.php +++ b/showhistory.php @@ -16,6 +16,8 @@ $fetchtemplates = array( 'history_bit' ); +define('SVN', '$Id$'); + require_once('./global.php'); $bug = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "bug WHERE bugid = " . intval($bugsys->in['bugid'])); diff --git a/showreport.php b/showreport.php index 5671136..9be557d 100644 --- a/showreport.php +++ b/showreport.php @@ -16,6 +16,8 @@ $fetchtemplates = array( 'showreport_comment' ); +define('SVN', '$Id$'); + require_once('./global.php'); if (!can_perform('canviewbugs')) diff --git a/viewattachment.php b/viewattachment.php index c7c4bd0..2ab6912 100755 --- a/viewattachment.php +++ b/viewattachment.php @@ -12,6 +12,8 @@ ob_start(); +define('SVN', '$Id$'); + require_once('./global.php'); $attachment = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "attachment WHERE attachmentid = " . intval($bugsys->in['attachmentid'])); diff --git a/vote.php b/vote.php index f121eba..e4d3043 100644 --- a/vote.php +++ b/vote.php @@ -10,6 +10,8 @@ || ################################################################### || \*=====================================================================*/ +define('SVN', '$Id$'); + require_once('./global.php'); // ################################################################### -- 2.43.5