- Timestamp:
- 07/10/09 14:19:56 (13 years ago)
- Location:
- dev
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/globals.php
r414 r415 7 7 else 8 8 { 9 $svn_rev = '41 4';9 $svn_rev = '415'; 10 10 } 11 11 define('SVN_REV', $svn_rev); -
dev/upgrade.php
r413 r415 13 13 $config = new Config(KB_SITE); 14 14 session::init(); 15 $url="http://".$_SERVER['HTTP_HOST'].$_SERVER[' PHP_SELF'];15 $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']; 16 16 if($_SERVER['QUERY_STRING'] != "") $url .= '?'.$_SERVER['QUERY_STRING']; 17 17 // Move to an include for neatness? 18 18 $header = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 19 19 <html> … … 50 50 session::create(true); 51 51 52 header('Location: http://'.$url);52 header('Location: '.$url); 53 53 die; 54 54 } … … 56 56 { ?> 57 57 <html><head><title>Upgrade admin login</title></head><body> 58 <form method="post" action=" http://<?php echo $url; ?>">58 <form method="post" action="<?php echo $url; ?>"> 59 59 <table class="kb-subtable"> 60 60 <tr>