Relocate Cron.php image

Sean S

Active member
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
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
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
	}
 
Top