summaryrefslogtreecommitdiff
path: root/read.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2014-05-31 21:23:49 +0100
committerlsces <lester@lsces.co.uk>2014-05-31 21:23:49 +0100
commite183de9c4d97e670b850929c7ff1152fab01d6d1 (patch)
tree5d201181d0058f961ed30d7566b8ea0ea2a92c0d /read.php
parent4753d5552aa9cb66c3cdc10387d2a490d41f7a42 (diff)
downloadarticles-e183de9c4d97e670b850929c7ff1152fab01d6d1.tar.gz
articles-e183de9c4d97e670b850929c7ff1152fab01d6d1.tar.bz2
articles-e183de9c4d97e670b850929c7ff1152fab01d6d1.zip
PSR trial tidyup. Drop trailing ?> and tidy legacy bracing.
Diffstat (limited to 'read.php')
-rw-r--r--read.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/read.php b/read.php
index c235eac..aa3c0b3 100644
--- a/read.php
+++ b/read.php
@@ -8,7 +8,7 @@
/**
* Initialization
*/
-require_once( '../kernel/setup_inc.php' );
+require_once '../kernel/setup_inc.php';
require_once( ARTICLES_PKG_PATH.'BitArticle.php' );
@@ -62,4 +62,3 @@ if( @$gContent->mInfo['allow_comments'] == 'y' ) {
// Display the Index Template
$gBitSystem->display( 'bitpackage:articles/read_article.tpl', @$gContent->mInfo['title'] , array( 'display_mode' => 'display' ));
-?>