some changes for redirecting user to errorController when a private method is called instead of showing up a warning
some changes for redirecting user to errorController when a private method is called instead of showing up a warning

baghayi/Rastgo-Framework