diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-18 11:33:31 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-18 11:33:31 +0100 |
| commit | 22329e97f3a9a5784f16dceea30a882311d907b6 (patch) | |
| tree | cd522383e75ce578e410bdbea4f527c611b04d0d /admin | |
| parent | 56097745905585e72341fdc770e350bc304e463f (diff) | |
| download | kernel-22329e97f3a9a5784f16dceea30a882311d907b6.tar.gz kernel-22329e97f3a9a5784f16dceea30a882311d907b6.tar.bz2 kernel-22329e97f3a9a5784f16dceea30a882311d907b6.zip | |
Check if the installer package is enabled.
Prodution sites the symlink should only be added when needed
Diffstat (limited to 'admin')
| -rwxr-xr-x | admin/admin_packages_inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/admin_packages_inc.php b/admin/admin_packages_inc.php index 83bfddf..eae7c26 100755 --- a/admin/admin_packages_inc.php +++ b/admin/admin_packages_inc.php @@ -38,6 +38,9 @@ if( !empty( $_REQUEST['features'] ) ) { } } +// Detect whether the installer is accessible (symlink present on production sites) +$gBitSmarty->assign( 'install_pkg_accessible', is_readable( BIT_ROOT_PATH . 'install/install.php' ) ); + global $gBitInstaller; $gBitInstaller = &$gBitSystem; $gBitInstaller->verifyInstalledPackages(); |
