summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornashe <thomas@chauchefoin.fr>2018-01-04 22:39:08 +0100
committernashe <thomas@chauchefoin.fr>2018-01-04 22:39:08 +0100
commit98097b5724aa49967db2db8bb0f6aa21eacd13db (patch)
tree376f5d201477355e6fa4545669b8b25d05e057b1
parent42b380f811e1bb3258e5d66ad8ce6eb5ba0852c3 (diff)
downloadplanet-98097b5724aa49967db2db8bb0f6aa21eacd13db.tar
planet-98097b5724aa49967db2db8bb0f6aa21eacd13db.tar.gz
planet-98097b5724aa49967db2db8bb0f6aa21eacd13db.tar.bz2
planet-98097b5724aa49967db2db8bb0f6aa21eacd13db.tar.xz
planet-98097b5724aa49967db2db8bb0f6aa21eacd13db.zip
Do not assume that Composer autoload is case insensitive
-rwxr-xr-xadmin/subscriptions.php2
-rw-r--r--app/classes/OpmlManager.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/admin/subscriptions.php b/admin/subscriptions.php
index 7b2fb6f..f0fd896 100755
--- a/admin/subscriptions.php
+++ b/admin/subscriptions.php
@@ -18,7 +18,7 @@ if (isset($_POST['opml']) || isset($_POST['add'])) {
if ($PlanetConfig->getName() === '') {
$PlanetConfig->setName($oldOpml->getTitle());
}
- $newOpml = new opml();
+ $newOpml = new Opml();
$newOpml->title = $PlanetConfig->getName();
// Remove slashes if needed
diff --git a/app/classes/OpmlManager.php b/app/classes/OpmlManager.php
index 02491a2..d3940b2 100644
--- a/app/classes/OpmlManager.php
+++ b/app/classes/OpmlManager.php
@@ -9,7 +9,7 @@ class OpmlManager
throw new Exception('OPML file not found!');
}
- $opml = new opml();
+ $opml = new Opml();
//Remove BOM if needed
$BOM = '/^/';