summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-25 10:15:00 +0000
committerlsces <lester@lsces.co.uk>2026-03-25 10:15:00 +0000
commit9c1c19a674c8c8a193f2eb1180830a944b180530 (patch)
tree4ab2f4e30807fcc236919b2a481443b2678faa0c
parentad1cc44a76be493c67d49adda720f5743639b65e (diff)
downloadrss-9c1c19a674c8c8a193f2eb1180830a944b180530.tar.gz
rss-9c1c19a674c8c8a193f2eb1180830a944b180530.tar.bz2
rss-9c1c19a674c8c8a193f2eb1180830a944b180530.zip
Tidy extra defines that VSCode can't find itself. Looking to fix this IN VSCode so all the extra stuff can be removed
-rw-r--r--includes/bit_setup_inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/bit_setup_inc.php b/includes/bit_setup_inc.php
index 06e2421..fd0549d 100644
--- a/includes/bit_setup_inc.php
+++ b/includes/bit_setup_inc.php
@@ -9,6 +9,10 @@ $pRegisterHash = [
// fix to quieten down VS Code which can't see the dynamic creation of these ...
define( 'RSS_PKG_NAME', $pRegisterHash['package_name'] );
define( 'RSS_PKG_URL', BIT_ROOT_URL . basename( $pRegisterHash['package_path'] ) . '/' );
+define( 'RSS_PKG_PATH', BIT_ROOT_PATH . basename( $pRegisterHash['package_path'] ) . '/' );
+define( 'RSS_PKG_INCLUDE_PATH', BIT_ROOT_PATH . basename( $pRegisterHash['package_path'] ) . '/includes/' );
+define( 'RSS_PKG_CLASSES_PATH', BIT_ROOT_PATH . basename( $pRegisterHash['package_path'] ) . '/includes/classes/' );
+define( 'RSS_PKG_ADMIN_PATH', BIT_ROOT_PATH . basename( $pRegisterHash['package_path'] ) . '/admin/' );
$gBitSystem->registerPackage( $pRegisterHash );