Blesta Addons Posted October 11, 2014 Report Share Posted October 11, 2014 Helloi'm loading a model inside a preAction function event . but i get the redeclare class error .when i load the model and i call a fucntion inside the module i get the errorFatal error: Cannot redeclare class AdminSecurity in ..........the code for this is : Loader::loadModels($this, array("admin_utils.AdminSecurity")); $this->AdminSecurity->ipRestrictions(); EDITED : event is loading 1 time . Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted October 11, 2014 Author Report Share Posted October 11, 2014 i have renemaed the files and fucntions , all back again to work normally !!!! PauloV 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.