opml: normalize class name
This commit is contained in:
parent
d91eae9c7e
commit
07408ac222
|
@ -18,7 +18,7 @@ class Dlg extends Handler_Protected {
|
||||||
|
|
||||||
print "<div class='panel panel-scrollable'>";
|
print "<div class='panel panel-scrollable'>";
|
||||||
|
|
||||||
$opml = new Opml($_REQUEST);
|
$opml = new OPML($_REQUEST);
|
||||||
|
|
||||||
$opml->opml_import($_SESSION["uid"]);
|
$opml->opml_import($_SESSION["uid"]);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class Opml extends Handler_Protected {
|
class OPML extends Handler_Protected {
|
||||||
|
|
||||||
function csrf_ignore($method) {
|
function csrf_ignore($method) {
|
||||||
$csrf_ignored = array("export", "import");
|
$csrf_ignored = array("export", "import");
|
||||||
|
|
2
opml.php
2
opml.php
|
@ -26,7 +26,7 @@
|
||||||
if ($row = $sth->fetch()) {
|
if ($row = $sth->fetch()) {
|
||||||
$owner_uid = $row['owner_uid'];
|
$owner_uid = $row['owner_uid'];
|
||||||
|
|
||||||
$opml = new Opml($_REQUEST);
|
$opml = new OPML($_REQUEST);
|
||||||
$opml->opml_export("", $owner_uid, true, false);
|
$opml->opml_export("", $owner_uid, true, false);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue