From 194debc2b405cc87db36379973e4eddb19d259f4 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sat, 14 Jan 2006 19:54:34 +0000 Subject: merge recent changes into HEAD --- install_checks.php | 6 +++--- install_cleanup.php | 5 +++-- templates/install.tpl | 2 +- templates/install_database_reset.tpl | 4 ++-- templates/upgrade_packages.tpl | 2 +- templates/upgrade_ready.tpl | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/install_checks.php b/install_checks.php index 49f1aad..55413bf 100644 --- a/install_checks.php +++ b/install_checks.php @@ -1,6 +1,6 @@ Windows
For information on how to install ImageMagick on Windows, please visit Install ImageMagick.
', - 'magickwand' => 'MagickWand is an alternative php extension for ImageMagick. please see the ImageMagic documentation for installation.', - 'eAccelerator' => 'eAccelerator increases the efficiency of php by caching. Using this extension will greatly increase your servers performance and reduce the memory needed to run bitweaver.', + 'magickwand' => 'MagickWand is an alternative php extension for ImageMagick. please see the ImageMagic documentation for installation instructions.', + 'eAccelerator' => 'eAccelerator increases the efficiency of php by caching and optimising queries. Using this extension will greatly increase your servers performance and reduce the memory needed to run bitweaver.', ); foreach( $php_ext as $ext => $note ) { $extensions[$i]['note'] = 'The extension '.$ext.' is '; diff --git a/install_cleanup.php b/install_cleanup.php index e2ed1d4..eb7923b 100644 --- a/install_cleanup.php +++ b/install_cleanup.php @@ -1,6 +1,6 @@ EOF ) { $insPerms = $delPerms = array(); foreach( array_keys( $gBitInstaller->mPermHash ) as $perm ) { if( !in_array( $perm, array_keys( $bitPrefs ) ) ) { - if( $schema[$gBitInstaller->mPermHash[$perm][3]]['installed'] ) { + if( @$schema[$gBitInstaller->mPermHash[$perm][3]]['installed'] ) { $insPerms[$perm] = $gBitInstaller->mPermHash[$perm]; } } @@ -58,6 +58,7 @@ if( !empty( $_REQUEST['resolve_conflicts'] ) ) { $gBitInstallDb->debug = 99; } $fix = array_merge( $delPerms, $insPerms ); + $fixedPermissions = array(); if( !empty( $_REQUEST['perms'] ) ) { foreach( $_REQUEST['perms'] as $perm ) { $gBitInstaller->mDb->query( $fix[$perm]['sql'] ); diff --git a/templates/install.tpl b/templates/install.tpl index aecfb61..0843c7a 100644 --- a/templates/install.tpl +++ b/templates/install.tpl @@ -76,7 +76,7 @@
-

bitweaver {$bitMajorVersion}.{$bitMinorVersion}.{$bitSubVersion} {$bitLevel}

+

bitweaver {$smarty.const.BIT_MAJOR_VERSION}.{$smarty.const.BIT_MINOR_VERSION}.{$smarty.const.BIT_SUB_VERSION} {$smarty.const.BIT_LEVEL}

{include file=$install_file} diff --git a/templates/install_database_reset.tpl b/templates/install_database_reset.tpl index 9067db6..9fdad48 100644 --- a/templates/install_database_reset.tpl +++ b/templates/install_database_reset.tpl @@ -12,13 +12,13 @@
-

Your database information is stored in the file '{$smarty.const.INSTALL_PKG_PATH}kernel/config_inc.php'. If you would like to reset these settings with new ones, you will first have to delete the settings stored therein before you can connect to a different database.

+

Your database information is stored in the file '{$smarty.const.BIT_ROOT_PATH}kernel/config_inc.php'. If you would like to reset these settings with new ones, you will first have to delete the settings stored therein before you can connect to a different database.

Before you hit the Reset config_inc.php file button please make sure you know what you are doing.

Hitting the Reset button will delete all contents in the config_inc.php file which will render your site useless until you've completed the installation process again. This is only really useful if your database access information has changed or if you plan to install bitweaver to a different database or use a different schema or prefix.

If you want to reinstall bitweaver into the same database as before, make sure you have deleted all bitweaver related tables before doing so. Reinstalling into an existing database might cause unwanted effects.

- +
{/form} diff --git a/templates/upgrade_packages.tpl b/templates/upgrade_packages.tpl index 9013702..2b92ab3 100644 --- a/templates/upgrade_packages.tpl +++ b/templates/upgrade_packages.tpl @@ -1,4 +1,4 @@ -

Upgrading {$upgradeFrom} to {$bitMajorVersion}{$bitMinorVersion} -{$bitBranch}-

+

Upgrading {$upgradeFrom} to {$smarty.const.BIT_MAJOR_VERSION}.{$smarty.const.BIT_MINOR_VERSION}.{$smarty.const.BIT_SUB_VERSION} {$smarty.const.BIT_LEVEL}

The following packages will be updated

diff --git a/templates/upgrade_ready.tpl b/templates/upgrade_ready.tpl index 5ab1025..8d14def 100644 --- a/templates/upgrade_ready.tpl +++ b/templates/upgrade_ready.tpl @@ -1,5 +1,5 @@ {form legend="Begin the upgrade process"} -

Upgrading {$upgradeFrom} to {$bitMajorVersion}{$bitMinorVersion} -{$bitBranch}-

+

Upgrading {$upgradeFrom} to {$smarty.const.BIT_MAJOR_VERSION}.{$smarty.const.BIT_MINOR_VERSION}.{$smarty.const.BIT_SUB_VERSION} {$smarty.const.BIT_LEVEL}

The following packages will be updated: -- cgit v1.3