-
-
Save BrokedTV/849cb32c7d7001899a5ea02f82cab7e0 to your computer and use it in GitHub Desktop.
fix login required
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Jonatan Froes <jonatanfroes@gmail.com> | |
1. on InstagramController.php, remove this line: | |
$Account->set("login_required", 1)->update(); | |
*/ | |
/* | |
2. add this lines: | |
*/ | |
$message = strtolower($msg); | |
if(strpos($strtolower($msg), "login required") === false) { | |
//another error, not login required | |
} else { | |
$Account->set("login_required", 1)->update(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment