diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-26 01:45:59 -0800 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-26 01:45:59 -0800 |
| commit | c7d7e2c509ca0611753474e8d23eae8b6a3eb38c (patch) | |
| tree | f756380ad36f5f3ef2697a4b23ba82257ebbe992 | |
| parent | cbfba9c7f28a2dffeaa3f414cbab065a5e403557 (diff) | |
Added a comment
| -rw-r--r-- | inc/config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index def76815..0fce2593 100644 --- a/inc/config.php +++ b/inc/config.php @@ -105,6 +105,7 @@ define('WIKI_MARKUP', true, true); // Whether to turn URLs into functional links define('MARKUP_URLS', true, true); + // Complex regular expression to catch URLs define('URL_REGEX', '/' . '(https?|ftp):\/\/' . '([\w\-]+\.)+[a-zA-Z]{2,6}' . '(\/([\w\-~\.#\/?=&;:+%]+))?' . '/', true); // Allowed file extensions |
