Commit a61b303f authored by Raph El's avatar Raph El

Modif

parent 57b74e94
......@@ -119,9 +119,9 @@
adminPanel.params.subView = true;
}
jQuery(document).ready(function() {
mylog.log("---admin/index.php");
mylog.log("---admin/index.php", authorizedAdmin, !authorizedAdmin);
if(!authorizedAdmin){
urlCtrl.loadByHash("");
//urlCtrl.loadByHash("");
bootbox.dialog({message:'<div class="alert-danger text-center"><strong><?php echo Yii::t("common","You are not authorized to acces adminastrator panel ! <br/>Connect you or contact us in order to become admin system") ?></strong></div>'});
}
adminPanel.init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment