Skip to content

Commit 0f20b07

Browse files
Add login message about this version being from old respository, with link to new repository.
1 parent 19963a5 commit 0f20b07

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

wire/core/ProcessWire.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ProcessWire extends Wire {
3737
const versionMajor = 2;
3838
const versionMinor = 7;
3939
const versionRevision = 3;
40-
const versionSuffix = 'dev';
40+
const versionSuffix = '';
4141

4242
const indexVersion = 270; // required version for index.php file (represented by PROCESSWIRE define)
4343
const htaccessVersion = 250; // required version for .htaccess file

wire/core/Wire.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ abstract class Wire implements WireTranslatable, WireHookable, WireFuelable, Wir
8484
*/
8585
protected $useFuel = true;
8686

87+
public function __construct() {}
88+
8789
/**
8890
* Add fuel to all classes descending from Wire
8991
*

wire/modules/Process/ProcessLogin/ProcessLogin.module

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,11 @@ class ProcessLogin extends Process {
251251
$indexVersion = ProcessWire::indexVersion;
252252
$htaccessVersion = ProcessWire::htaccessVersion;
253253

254+
$this->warning(
255+
"Please note: This version of ProcessWire is from the old repository. The new repositories are located at: " .
256+
"<a target='_blank' href='https://github.com/processwire/'>github.com/processwire</a>", Notice::allowMarkup
257+
);
258+
254259
if(PROCESSWIRE < $indexVersion) {
255260
$this->warning(
256261
"Not urgent, but note that your root index.php file is not up-to-date with this ProcessWire version - please update it when possible. " .

0 commit comments

Comments
 (0)