Created
October 2, 2017 10:48
-
-
Save pedroresende/589af89af394f52bfca2c0be7da9a5ac to your computer and use it in GitHub Desktop.
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
public function setUserVariables($I) | |
{ | |
if ($I->amIAdmin($I)) { | |
$URL = '/admin_herbals'; | |
$saveButton_id = '#btupdate'; | |
} else { | |
$URL = '/herbals'; | |
$saveButton_id = '#submit'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment