Hackademic / hackademic

the main hackademic code repository
GNU General Public License v3.0
318 stars 117 forks source link

PHP7 #236

Open ashahri opened 7 years ago

ashahri commented 7 years ago

Not compatible with php 7, is it possible to migrate this to the php version 7 by any chance?

thisissorna commented 7 years ago

change this -----> to this:

file: esapi/src/codecs/base64codec.php public function encodeCharacter($input) -----> public function encodeCharacter($input, $c='')

file: controller/class.ChallengeMenuController.php $username = $this->getLoggedInUser(); -----> $username = HackademicController::getLoggedInUser();

file: model/common/class.SmartyHackademic.php public function assign($key, $value = null) -----> public function assign($key, $value = null, $nocache = false)