From a804d843c8608bcf2dbaa903db01c8b747978526 Mon Sep 17 00:00:00 2001 From: lsces Date: Mon, 6 Apr 2026 15:21:57 +0100 Subject: Tidying links to bitweaver.org to avoid redirect from http --- includes/classes/BitSystem.php | 12 ++++++------ modules/mod_powered_by.tpl | 2 +- templates/bot_bar.tpl | 2 +- templates/bot_logo_bar.tpl | 2 +- templates/bot_stats_bar.tpl | 2 +- templates/force_installer.tpl | 4 ++-- templates/html_head_inc.tpl | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/includes/classes/BitSystem.php b/includes/classes/BitSystem.php index db04cc7..d5b4b62 100755 --- a/includes/classes/BitSystem.php +++ b/includes/classes/BitSystem.php @@ -1845,7 +1845,7 @@ class BitSystem extends BitSingleton { } else { print "

Proceed to the installer at ".BIT_ROOT_URL."install/install.php after you have corrected the identified problems."; } - print "
Consult the bitweaver Technical Documentation if you need more help.

"; + print "
Consult the bitweaver Technical Documentation if you need more help.

"; } exit; @@ -2164,7 +2164,7 @@ class BitSystem extends BitSingleton { foreach( $pReqHash as $req => $version ) { //$this->mPackages[$req]['is_requirement'] = true; - $this->mPackages[$pPackage]['info']['requirements'] .= ''.ucfirst( $req ).''; + $this->mPackages[$pPackage]['info']['requirements'] .= ''.ucfirst( $req ).''; $max = !empty( $version['max'] ) ? " - ".$version['max'] : ''; if( $version['min'] != '0.0.0' ) { $this->mPackages[$pPackage]['info']['requirements'] .= " (".$version['min'].$max.")"; @@ -2376,10 +2376,10 @@ class BitSystem extends BitSingleton { break; } - $fromattributes['URL'] = "http://www.bitweaver.org/wiki/".ucfirst( $node['package'] )."Package"; + $fromattributes['URL'] = "https://www.bitweaver.org/wiki/".ucfirst( $node['package'] )."Package"; $graph->addNode( $fromNode, $fromattributes ); - $toattributes['URL'] = "http://www.bitweaver.org/wiki/".ucfirst( $node['requires'] )."Package"; + $toattributes['URL'] = "https://www.bitweaver.org/wiki/".ucfirst( $node['requires'] )."Package"; $graph->addNode( $toNode, $toattributes ); $graph->addEdge( @@ -2629,12 +2629,12 @@ class BitSystem extends BitSingleton { $error['number'] = 0; $error['string'] = $data = ''; -// http://www.bitweaver.org/bitversion.txt is no longer available +// https://www.bitweaver.org/bitversion.txt is no longer available // cache the bitversion.txt file locally and update only once a day // if you don't have a connection to bitweaver.org, you can set a cronjob to 'touch' this file once a day to avoid waiting for a timeout. /* if( !is_file( TEMP_PKG_PATH.'bitversion.txt' ) || ( time() - filemtime( TEMP_PKG_PATH.'bitversion.txt' )) > 86400 ) { if( $h = fopen( TEMP_PKG_PATH.'bitversion.txt', 'w' )) { - $data = KernelTools::bit_http_request( 'http://www.bitweaver.org/bitversion.txt' ); + $data = KernelTools::bit_http_request( 'https://www.bitweaver.org/bitversion.txt' ); if( !preg_match( "/not found/i", $data )) { fwrite( $h, $data ); fclose( $h ); diff --git a/modules/mod_powered_by.tpl b/modules/mod_powered_by.tpl index f14d13c..8527c35 100755 --- a/modules/mod_powered_by.tpl +++ b/modules/mod_powered_by.tpl @@ -2,7 +2,7 @@ {strip} {bitmodule title="$moduleTitle" name="powered_by"}