1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-01-03 14:42:47 +01:00

no more require_once()

This commit is contained in:
Thomas Mueller 2012-09-05 23:28:59 +02:00
parent 390d608c1c
commit 190a070f15
5 changed files with 5 additions and 5 deletions

View File

@ -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']);

View File

@ -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']);

View File

@ -14,7 +14,7 @@ namespace OCA\News;
// load SimplePie library
//TODO: is this a suitable place for the following require?
require_once('news/3rdparty/SimplePie/autoloader.php');
require_once 'news/3rdparty/SimplePie/autoloader.php';
class Utils {

View File

@ -22,7 +22,7 @@
</div>
<div>
<?php
require_once(OC_App::getAppPath('news') .'/templates/subscribelet.php');
require_once OC_App::getAppPath('news') .'/templates/subscribelet.php';
echo '<h1>' . $l->t('Or...') . '</h1>';
?>
<?php createSubscribelet(); ?>

View File

@ -16,7 +16,7 @@
<dt><?php echo $l->t('Subscribelet'); ?></dt>
<dd>
<?php
require_once(OC_App::getAppPath('news') .'/templates/subscribelet.php');
require_once OC_App::getAppPath('news') .'/templates/subscribelet.php';
createSubscribelet();
?>
</dd>