Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-07-30 17:03:36 +0400
committerMichal Čihař <mcihar@suse.cz>2013-07-30 17:03:36 +0400
commitc48568afd6df606172334f71133b2366c372d155 (patch)
treed770c9b55665598da1a6fa1eb46c2de5fd2d4f12 /changelog.php
parenta63c0ed00a5f34353c519af2273b923bcf4c4b7c (diff)
Extract FAQ url
Diffstat (limited to 'changelog.php')
-rw-r--r--changelog.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/changelog.php b/changelog.php
index c216c7fe3d..5066ffe03e 100644
--- a/changelog.php
+++ b/changelog.php
@@ -49,6 +49,7 @@ $tracker_url_bug = 'https://sourceforge.net/p/phpmyadmin/bugs/\\1/';
$tracker_url_rfe = 'https://sourceforge.net/p/phpmyadmin/feature-requests/\\1/';
$tracker_url_patch = 'https://sourceforge.net/p/phpmyadmin/patches/\\1/';
$github_url = 'https://github.com/phpmyadmin/phpmyadmin/';
+$faq_url = 'http://docs.phpmyadmin.net/en/latest/faq.html';
$replaces = array(
'@(http://[./a-zA-Z0-9.-_-]*[/a-zA-Z0-9_])@'
@@ -80,7 +81,7 @@ $replaces = array(
// FAQ entries
'/FAQ ([0-9]+)\.([0-9a-z]+)/i'
- => '<a href="http://docs.phpmyadmin.net/en/latest/faq.html#faq\\1-\\2">FAQ \\1.\\2</a>',
+ => '<a href="' . $faq_url . '#faq\\1-\\2">FAQ \\1.\\2</a>',
// linking bugs
'/bug\s*#?([0-9]{6,})/i'