Jump to content
MakeWebGames

nbbc fix for php versions 5.6 upto 8


Uridium

Recommended Posts

nbbc7.phpnbbc8.php

 

these files are

nbbc7 from PHP versions 5.6 up to 7.2

nbbc8 from PHP versions 7.3 up to 8+

 

put both files in the class/ folder

then open up class/pageElement.php

change line 10 require("nbbc.php");

TO

$ver = (float)phpversion();
if ($ver > 7.3) {
    require "nbbc8.php";
} 
else {
    require "nbbc7.php";
}

You can now switch back and forth to any working PHP version from MultiPHP Manager

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...