diff options
author | Thomas Citharel <tcit@tcit.fr> | 2014-12-14 00:16:22 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2014-12-14 00:16:22 +0100 |
commit | dc69d3e8d895c87f9d26c2d1309e40d6090d4c8d (patch) | |
tree | 3cc3bd960df403a6e0645afcd9e4f5bbb68bfc0e /inc/3rdparty/libraries/MOBIClass/RecognizeURL.php | |
parent | 9c55ed0923273da886497cb62302a79622e34a74 (diff) | |
parent | 9f86454b48dec3c9ecfee8da224112eef0f61441 (diff) | |
download | wallabag-dc69d3e8d895c87f9d26c2d1309e40d6090d4c8d.tar.gz wallabag-dc69d3e8d895c87f9d26c2d1309e40d6090d4c8d.tar.zst wallabag-dc69d3e8d895c87f9d26c2d1309e40d6090d4c8d.zip |
merge epub with all the dev evolutions
Diffstat (limited to 'inc/3rdparty/libraries/MOBIClass/RecognizeURL.php')
-rw-r--r-- | inc/3rdparty/libraries/MOBIClass/RecognizeURL.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/inc/3rdparty/libraries/MOBIClass/RecognizeURL.php b/inc/3rdparty/libraries/MOBIClass/RecognizeURL.php new file mode 100644 index 00000000..6319ed57 --- /dev/null +++ b/inc/3rdparty/libraries/MOBIClass/RecognizeURL.php | |||
@@ -0,0 +1,16 @@ | |||
1 | <?php | ||
2 | |||
3 | /** | ||
4 | * Description of RecognizeURL | ||
5 | * | ||
6 | * @author Sander | ||
7 | */ | ||
8 | class RecognizeURL { | ||
9 | public static function GetContentHandler($url){ | ||
10 | if(FanFictionNet::Matches($url)){ | ||
11 | return new FanFictionNet($url); | ||
12 | } | ||
13 | return null; | ||
14 | } | ||
15 | } | ||
16 | ?> | ||