Skip to content

Commit 788665d

Browse files
author
Gabor Hojtsy
committed
utilize the releases folder instead of pseudofoldering with prefixing file names
1 parent c9d0bb1 commit 788665d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+107
-102
lines changed

error.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,17 @@
6565
}
6666

6767
// ============================================================================
68-
// BC: News archive moved to folder
68+
// BC: News archive moved to subfolder
6969
if (preg_match("!^news-(\\d+)(\\.|$)!", $URI, $array)) {
7070
mirror_redirect("/archive/$array[1].php");
7171
}
7272

73+
// ============================================================================
74+
// BC: Release files moved to subfolder
75+
if (preg_match("!^release_([^\\.]+)(\\.php$|$)!", $URI, $array)) {
76+
mirror_redirect("/releases/$array[1].php");
77+
}
78+
7379
// ============================================================================
7480
// BC: handle documentation howto moved to the doc.php.net server
7581
// (redirect to index page)

release_4_1_0.php renamed to releases/4_1_0.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_1_0.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_1_0.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("PHP 4.1.0 Release Announcement");
66
?>
@@ -9,7 +9,7 @@
99

1010
<p>
1111
After a lengthy QA process, PHP 4.1.0 is <a href="/downloads.php">finally out</a>!<br />
12-
[ <a href="/release_4_1_0_fr.php">Version Fran&ccedil;aise</a> ]
12+
[ <a href="/releases/4_1_0_fr.php">Version Fran&ccedil;aise</a> ]
1313
</p>
1414

1515
<p> PHP 4.1.0 includes several other key improvements:</p>

release_4_1_0_fr.php renamed to releases/4_1_0_fr.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_1_0_fr.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_1_0_fr.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("Annonce de publication de PHP 4.1.0", array("lang" => "fr"));
66
?>
@@ -9,7 +9,7 @@
99

1010
<p>
1111
Apr&egrave;s un long processus "QA", PHP 4.1.0 <a href="/downloads.php">est enfin sorti</a>!<br />
12-
[ <a href="/release_4_1_0.php">English Version</a> ]
12+
[ <a href="/releases/4_1_0.php">English Version</a> ]
1313
</p>
1414

1515
<p>

release_4_1_1.php renamed to releases/4_1_1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_1_1.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_1_1.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("PHP 4.1.1 Release Announcement");
66
?>

release_4_1_2_win32.php renamed to releases/4_1_2_win32.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_1_2_win32.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_1_2_win32.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("PHP 4.1.2 Windows (Win32) Release Announcement");
66
?>

release_4_2_0.php renamed to releases/4_2_0.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_2_0.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_2_0.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("PHP 4.2.0 Release Announcement");
66
?>

release_4_2_0_fr.php renamed to releases/4_2_0_fr.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_2_0_fr.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_2_0_fr.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("Annonce de publication de PHP 4.2.0", array("lang" => "fr"));
66
?>
77

88
<h1>Annonce de publication de PHP 4.2.0</h1>
99

10-
<p>[ <a href="/release_4_2_1.php">English Version</a> ]</p>
10+
<p>[ <a href="/releases/4_2_1.php">English Version</a> ]</p>
1111

1212
<p>
1313
Apr&egrave;s avoir pass&eacute; avec succ&egrave;s le processus

release_4_2_1.php renamed to releases/4_2_1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_2_1.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_2_1.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("PHP 4.2.1 Release Announcement");
66
?>
77

88
<h1>PHP 4.2.1 Release Announcement</h1>
99

10-
<p>[ <a href="/release_4_2_1_fr.php">Version Fran&ccedil;aise</a> ]</p>
10+
<p>[ <a href="/releases/4_2_1_fr.php">Version Fran&ccedil;aise</a> ]</p>
1111

1212
<h2>Bugfix release</h2>
1313

release_4_2_1_fr.php renamed to releases/4_2_1_fr.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_2_1_fr.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_2_1_fr.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("Annonce de publication de PHP 4.2.1", array("lang" => "fr"));
66
?>
77

88
<h1>Annonce de publication de PHP 4.2.1</h1>
99

10-
<p>[ <a href="/release_4_2_1.php">English Version</a> ]</p>
10+
<p>[ <a href="/releases/4_2_1.php">English Version</a> ]</p>
1111

1212
<h2>Version mineure de correction de bugs</h2>
1313

release_4_2_2.php renamed to releases/4_2_2.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
// $Id$
3-
$_SERVER['BASE_PAGE'] = 'release_4_2_2.php';
3+
$_SERVER['BASE_PAGE'] = 'releases/4_2_2.php';
44
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
55
site_header("PHP 4.2.2 Release Announcement");
66
?>
@@ -9,7 +9,7 @@
99
PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1
1010
</h1>
1111

12-
<p>[ <a href="/release_4_2_2_fr.php">Version Fran&ccedil;aise</a> ]</p>
12+
<p>[ <a href="/releases/4_2_2_fr.php">Version Fran&ccedil;aise</a> ]</p>
1313

1414
<dl>
1515
<dt>Issued on:</dt>

0 commit comments

Comments
 (0)