|
@@ -15,7 +15,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
$eb = parent._mpApi;
|
|
$eb = parent._mpApi;
|
|
|
// if(!$eb) top.location.reload();
|
|
// if(!$eb) top.location.reload();
|
|
|
- window.controlle="<?php echo think\Request::instance()->url();?>";
|
|
|
|
|
|
|
+ window.controlle="<?php echo strtolower(trim(preg_replace("/[A-Z]/", "_\\0", think\Request::instance()->controller()), "_"));?>";
|
|
|
window.module="<?php echo think\Request::instance()->module();?>";
|
|
window.module="<?php echo think\Request::instance()->module();?>";
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|