uninstall.php 556 B

123456789101112
  1. <?php
  2. // If SSI.php is in the same place as this file, and SMF isn't defined, this is being run standalone.
  3. if(file_exists(dirname(__FILE__).'/SSI.php') && !defined('SMF')){
  4. require_once(dirname(__FILE__) . '/SSI.php');
  5. }
  6. // Hmm... no SSI.php and no SMF?
  7. }elseif (!defined('SMF')){
  8. die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');
  9. }
  10. remove_integration_function('integrate_pre_include', '$sourcedir/Subs-Stream.php');
  11. remove_integration_function('integrate_actions', 'Stream_add_hook');
  12. ?>