Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adriano Faria Posted September 27, 2023 Posted September 27, 2023 Although it is right in the extension's default: namespace IPS\{app}\extensions\core\RssImport; /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' ); exit; } /** * @brief RSS Import extension: {class} */ class _{class} it only works if you create your extension with the name RssImport. Not tested but this is probably due to this in \IPS\core\Rss\Import: public function get__extension() { $classname = 'IPS\\' . $this->_application->directory . '\extensions\core\RssImport\RssImport'; return new $classname; } Thank you.
Recommended Posts