disable.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * Copyright 2001-2099 1314学习网.
  4. * This is NOT a freeware, use is subject to license terms
  5. * $Id: disable.php 928 2016-07-02 13:32:28Z zhuge $
  6. * 应用售后问题:http://www.1314study.com/services.php?mod=issue
  7. * 应用售前咨询:QQ 15326940
  8. * 应用定制开发:QQ 643306797
  9. * 本插件为 1314学习网(www.1314study.com) 独立开发的原创插件, 依法拥有版权。
  10. * 未经允许不得公开出售、发布、使用、修改,如需购买请联系我们获得授权。
  11. */
  12. if(!defined('IN_ADMINCP')) {
  13. exit('Access Denied');
  14. }
  15. $available = $operation == 'enable' ? 1 : 0;
  16. $wp4wz0ei = "16588";
  17. C::t('common_plugin')->update($_GET['pluginid'], array('available' => $available));
  18. updatecache(array('plugin', 'setting', 'styles'));
  19. cleartemplatecache();
  20. updatemenu('plugin');
  21. $_statInfo = array();
  22. $i3dwr5_p = "版权:www.1314study.com";
  23. $_statInfo['pluginName'] = $plugin['identifier'];
  24. $_statInfo['bbsVersion'] = DISCUZ_VERSION;
  25. $_statInfo['bbsUrl'] = $_G['siteurl'];
  26. $_statInfo['action'] = $operation;
  27. $_statInfo['nextUrl'] = ADMINSCRIPT.'?action=plugins';//版权:1314学习网,未经允许不得公开出售、发布、使用、修改,如需购买请联系我们获得授权
  28. $_statInfo = base64_encode(serialize($_statInfo));
  29. $_md5Check = md5($_statInfo);
  30. cpmsg('plugins_'.$operation.'_succeed', 'http://addon.1314study.com/api/outer_addon.php?type=js&info='.$_statInfo.'&md5check='.$_md5Check, 'succeed');
  31. //Copyright 2001-2099 1314学习网.
  32. //This is NOT a freeware, use is subject to license terms
  33. //$Id: disable.php 1370 2016-07-02 05:32:28Z zhuge $
  34. //应用售后问题:http://www.1314study.com/services.php?mod=issue
  35. //应用售前咨询:QQ 15326940
  36. //应用定制开发:QQ 643306797
  37. //本插件为 1314学习网(www.1314study.com) 独立开发的原创插件, 依法拥有版权。
  38. //未经允许不得公开出售、发布、使用、修改,如需购买请联系我们获得授权。