ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Important 2.1 info for third party devs: Building file paths to your add-ons

July 06, 2010 1:25pm

Subscribe [4]
  • #1 / Jul 06, 2010 1:25pm

    Derek Jones

    7561 posts

    I wanted to make a quick broadcast to third party developers about a potential issue in the upcoming ExpressionEngine 2.1 release with your add-ons, depending on how you were building file paths with CodeIgniter.  If affected, your add-ons will break in ExpressionEngine 2.1, so it is very important for users of your add-ons to have updated code prior to its launch.  If you have been building your file paths with PATH_THIRD or APPPATH*, you should not be affected.

    Read on…

  • #2 / Jul 06, 2010 8:58pm

    Bill the Grue

    162 posts

    Thank you for this information!

    Will we have clean documentation for creating EE 2.1 modules like we have now for 1.x?

    I’m getting ready to whip up something fun, and I will certainly need help. I’m specifically interested in developing an EE module - not a standalone CI application.

    Warmly,

    Bill

  • #3 / Jul 06, 2010 9:01pm

    Derek Jones

    7561 posts

    Bill, that’s existed for a long time, beginning in April of last year for registered developers, and December to the general public. 😉

  • #4 / Jul 07, 2010 6:57pm

    iain

    317 posts

    Derek, I presume the initial

    <?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

    as per the module tutorial is unaffected?

    Or do I need to replace those?

  • #5 / Jul 07, 2010 7:24pm

    Derek Jones

    7561 posts

    Correct, unaffected.  That is simply a sanity/safety check to make sure that the file is being accessed in the context of a CodeIgniter instance.

  • #6 / Jul 07, 2010 7:28pm

    iain

    317 posts

    Great. Thanks for the prompt response Derek.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases