Page 1 of 1

Curious about some code

Posted: Fri Feb 29, 2008 4:07 am
by richsong
In the file admin_main.php there is a section of code that begins

Code: Select all

eval(gzinflate(base64_decode(
I was curious as to what that code does and why it is there in the encrypted format.

Also, just below that particular section of code, there is some code that displays the "Check for Updates" and some related messages. I commented that out but I can't find the code for the paragraph about removing the "Powered by" link. I would like to remove that paragraph but not the actual link at the bottom. Where is that portion of code located?

I have no intention of removing the actual link at the bottom.

Posted: Fri Feb 29, 2008 7:32 am
by Klemen
That code checks if a license exists and if not prints the "Buy a license" paragraph. It's not encrypted but rather encoded a little to prevent messing up with the license code (anyone with decent PHP knowledge should have no problems decoding it though).

Removing that code will remove the "Buy a license" paragraph. However if you did the same in the footer section it would delete some other needed code as well so that one must be left.