* Using {{PATH}} rather than $wgScriptPath
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 19 Jun 2005 16:10:03 +0000 (16:10 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 19 Jun 2005 16:10:03 +0000 (16:10 +0000)
includes/SpecialVersion.php

index 101eb0e..a9756a3 100644 (file)
@@ -10,7 +10,7 @@
  * constructor
  */
 function wfSpecialVersion() {
-       global $wgOut, $wgVersion, $wgScriptPath;
+       global $wgOut, $wgVersion;
        
        $dbr =& wfGetDB( DB_SLAVE );
        
@@ -30,7 +30,7 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
-You should have received [{{SERVER}}$wgScriptPath/COPYING a copy of the GNU General Public License]
+You should have received [{{SERVER}}{{PATH}}/COPYING a copy of the GNU General Public License]
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 or [http://www.gnu.org/copyleft/gpl.html read it online]