Jump to content

Featured Replies

comment_197200

Thanks, I have re-upload release. To fix this, open:

/applications/core/modules/admin/support/support.php

Find:

protected function _checkUpgrades()
	{
		return FALSE;
	}

Add after:

/**
	 * Clear caches for nulled
	 *
	 * @return void
	 */
	protected function clearCachesNull()
	{
		/* Check CSRF Key*/
		\IPS\Session::i()->csrfCheck();

		/* URL for redirect */
		$md = \IPS\Request::i()->md;
		$ct = \IPS\Request::i()->ct;

		/* Clear JS Maps first */
		\IPS\Output::clearJsFiles();
		
		/* Reset theme maps to make sure bad data hasn't been cached by visits mid-setup */
		\IPS\Theme::deleteCompiledCss();
		\IPS\Theme::deleteCompiledResources();
		
		foreach( \IPS\Theme::themes() as $id => $set )
		{
			/* Invalidate template disk cache */
			$set->cache_key = md5( microtime() . mt_rand( 0, 1000 ) );
			$set->save();
		}
		
		\IPS\Data\Store::i()->clearAll();
		\IPS\Data\Cache::i()->clearAll();
		\IPS\Output\Cache::i()->clearAll();

		\IPS\Member::clearCreateMenu();

		if( \IPS\Request::i()->isAjax() )
		{
			\IPS\Output::i()->json( 'OK' );
		}
		else
		{
			\IPS\Output::i()->redirect( \IPS\Http\Url::internal( "app=core&module={$md}&controller={$ct}" ), 'nulled_clear_caches_done' );
		}
	}

 

  • Author
comment_197218

Perfect. Is it the only problem, or is there one? I ask this because I already updated my community, and if this is just the problem, I will solve it by changing the code to this file, so as not to load everything again.

Thank you very much in advance as always. One more question. I have been reading that you no longer want to continue doing this, of nulled Invision in the new version 5. I want to ask you not to walk away, I believe that you are the only one who can correctly nullify this community. Please don't walk away

 

comment_197219
34 минуты назад, napolion сказал:

Perfect. Is it the only problem, or is there one? I ask this because I already updated my community, and if this is just the problem, I will solve it by changing the code to this file, so as not to load everything again.

Yes that's the only problem.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.