Recent Topics

1 Aug 04, 2007 21:49    

My b2evolution Version: 1.10.x

Is there any hack that can make B2Evo bypass *.ent files under inc/_misc/ ? You see my freehosts webservers won't allow those files to be uploaded. They are automatically deleted.

2 Aug 04, 2007 22:31

The files are called in ../blogs/inc/_htmlchecker.class.php from line 143 onward:

		// Include entities:
		$xhtml_head .= '[';
		// Include latin1 entities (http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent):
		$xhtml_head .= file_get_contents( dirname(__FILE__).'/_htmlchecker.xhtml-lat1.ent' );
		// Include symbol entities (http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent):
		$xhtml_head .= file_get_contents( dirname(__FILE__).'/_htmlchecker.xhtml-symbol.ent' );
		// Include special entities (http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent):
		$xhtml_head .= file_get_contents( dirname(__FILE__).'/_htmlchecker.xhtml-special.ent' );
		$xhtml_head .= ']>';


Here you can change the filenames, if you change the name of the file accordingly. Anything should do.

I sincerely advise you to reconsider your choice of host.

Good luck

3 Aug 04, 2007 22:45

Afwas wrote:

The files are called in ../blogs/inc/_htmlchecker.class.php from line 143 onward:

		// Include entities:
		$xhtml_head .= '[';
		// Include latin1 entities (http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent):
		$xhtml_head .= file_get_contents( dirname(__FILE__).'/_htmlchecker.xhtml-lat1.ent' );
		// Include symbol entities (http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent):
		$xhtml_head .= file_get_contents( dirname(__FILE__).'/_htmlchecker.xhtml-symbol.ent' );
		// Include special entities (http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent):
		$xhtml_head .= file_get_contents( dirname(__FILE__).'/_htmlchecker.xhtml-special.ent' );
		$xhtml_head .= ']>';

Here you can change the filenames, if you change the name of the file accordingly. Anything should do.

That's easy... do you mean to say I can change the extension of those files to let's say *.txt and it will work out fine?

4 Aug 04, 2007 22:47

That was my point, only if you do it in the file *and* rename the files, but I think you got that part.

Good luck

5 Aug 04, 2007 22:53

Afwas wrote:

That was my point, only if you do it in the file *and* rename the files, but I think you got that part.

Good luck

It worked. Thanks.


Form is loading...