aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/libraries/MOBIClass/RecognizeURL.php
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-07-24 21:56:04 +0200
committertcit <tcit@tcit.fr>2014-07-24 21:56:04 +0200
commitfb9df0c269f36703909b8b259abbdbed29881ecd (patch)
tree03069262fe6a7bd5891f5649d31fc057b3ca8541 /inc/3rdparty/libraries/MOBIClass/RecognizeURL.php
parentc70bfefc68fcc96b1ce57845e5b2942a596239ec (diff)
downloadwallabag-fb9df0c269f36703909b8b259abbdbed29881ecd.tar.gz
wallabag-fb9df0c269f36703909b8b259abbdbed29881ecd.tar.zst
wallabag-fb9df0c269f36703909b8b259abbdbed29881ecd.zip
use directly MOBIClass
Diffstat (limited to 'inc/3rdparty/libraries/MOBIClass/RecognizeURL.php')
-rw-r--r--inc/3rdparty/libraries/MOBIClass/RecognizeURL.php16
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 */
8class RecognizeURL {
9 public static function GetContentHandler($url){
10 if(FanFictionNet::Matches($url)){
11 return new FanFictionNet($url);
12 }
13 return null;
14 }
15}
16?>