summaryrefslogtreecommitdiffstats
path: root/ajax
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-05 23:28:59 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-05 23:28:59 +0200
commit190a070f15b546290853258a389503af98655970 (patch)
treee63a77e71b36f99876af38a34e337481488ca7b3 /ajax
parent390d608c1cd43b138a8399896c7d8c14fd9b737e (diff)
no more require_once()
Diffstat (limited to 'ajax')
-rw-r--r--ajax/exportopml.php2
-rw-r--r--ajax/importopml.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/ajax/exportopml.php b/ajax/exportopml.php
index 7911a4db9..95558a5b4 100644
--- a/ajax/exportopml.php
+++ b/ajax/exportopml.php
@@ -27,7 +27,7 @@ if(!isset($_POST['path'])) {
bailOut($l->t('No file path was submitted.'));
}
-require_once('news/opmlparser.php');
+require_once 'news/opmlparser.php';
$raw = file_get_contents($_POST['path']);
diff --git a/ajax/importopml.php b/ajax/importopml.php
index 80196d176..c339e3f31 100644
--- a/ajax/importopml.php
+++ b/ajax/importopml.php
@@ -27,7 +27,7 @@ if(!isset($_POST['path'])) {
bailOut($l->t('No file path was submitted.'));
}
-require_once('news/opmlparser.php');
+require_once 'news/opmlparser.php';
$raw = file_get_contents($_POST['path']);