Themes, Templates and Scripts

Codecanyon Mighty URL Shortener v2.0.1 - Short URL Script NULLED

Submitted by saif0506, , Thread ID: 32288

Thread Closed

RE: Mighty URL Shortener v2.0.1 - Short URL Script NULLED

#13
18-04-2017, 10:05 PM
n0stix Wrote:
In case anyone else was having the same problem - I think I got it working fine now. I won't post the whole "how to" here (PM if you want?) but just take a look in your AppAdminController.php file. Near the bottom....

Since n0stix doesn't want to explain the fix, here you go.
/src/Controller/Admin/AppAdminController.php

find:
Code:
protected function redirect_for_license_activate()
  {
    if (require_database_upgrade()) {
      return false;
    }

    $Activation = TableRegistry::get('Activation');
    if ($Activation->checkLicense() === false && $this->request->params['controller'] !== 'Activation') {
      return true;
    }
    return false;
  }

And change it to:
Code:
protected function redirect_for_license_activate()
  {
    if (require_database_upgrade()) {
      return false;
    }

    $Activation = TableRegistry::get('Activation');
    if ($Activation->checkLicense() === false && $this->request->params['controller'] !== 'Activation') {
      return false;
    }
    return false;
  }

Users browsing this thread: 2 Guest(s)