Jump to content

Where does IPB get PHP config values from?


Jon Erickson

Recommended Posts

9 hours ago, Jon Erickson said:

IPB is telling me I have the infamous dangerous functions enabled although when looking at my PHP configuration, it's clear I have them disabled. However, when looking at the PHP settings through IPB's support tool, it says they are NOT disabled. How come the difference?

http://community.deschutesdesigngroup.com/phpinfo.php

		foreach ( static::$dangerousPhpFunctions as $function )
		{
			if ( \function_exists( $function ) )
			{
				$functions[] = $function;
			}
		}

We simply perform a function_exists() call against each one.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...