• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Relocate Cron.php image

Sean S

Active member
#1
Good afternoon,

was wondering if you could tell me where and how I can replace the location of the 1px by 1px cron.php image that shows up at the very bottom of the page.

What template or file does this image gets called from?

thank you,
Sean
 

Jake Bunce

XenForo moderator
Staff member
#2
Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

Code:
<xen:if is="{$cronLink}"><img src="{$cronLink}" width="1" height="1" alt="" /></xen:if>
 

Jake Bunce

XenForo moderator
Staff member
#4
Oh, and the image itself is actually encoded in the PHP code:

library/XenForo/Cron.php

Code:
	/**
	 * Outputs the blank image needed for cron page embedding.
	 */
	public function outputImage()
	{
		header('Content-Type: image/gif');
		echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=='); // transparent gif
	}