summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2025-08-29 09:50:44 +0100
committerlsces <lester@lsces.co.uk>2025-08-29 09:50:44 +0100
commit24ac90ba2d2e8911b8b51d251541565f202dd9ce (patch)
tree998a5e4a84dc2008d7fe68123a8fc164e7ce5204 /index.php
parentef37929a5577234fc2a350b6207260c52d5835cd (diff)
downloadquota-24ac90ba2d2e8911b8b51d251541565f202dd9ce.tar.gz
quota-24ac90ba2d2e8911b8b51d251541565f202dd9ce.tar.bz2
quota-24ac90ba2d2e8911b8b51d251541565f202dd9ce.zip
Refactor for PHP8.4, namespace and Smarty5
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/index.php b/index.php
index f0400de..d6f1156 100644
--- a/index.php
+++ b/index.php
@@ -15,11 +15,10 @@
/**
* required setup
*/
-require_once( '../kernel/includes/setup_inc.php' );
+require_once '../kernel/includes/setup_inc.php';
$gBitSystem->verifyPackage( 'quota' );
-require_once( QUOTA_PKG_INCLUDE_PATH.'quota_inc.php' );
+require_once QUOTA_PKG_INCLUDE_PATH . 'quota_inc.php';
-$gBitSystem->display( 'bitpackage:quota/quota.tpl', 'View Quota' , array( 'display_mode' => 'display' ));
-?>
+$gBitSystem->display( 'bitpackage:quota/quota.tpl', 'View Quota' , [ 'display_mode' => 'display' ]);