GetSimple Support Forum
cookie_functions.php Path to configuration.php - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: cookie_functions.php Path to configuration.php (/showthread.php?tid=847)



cookie_functions.php Path to configuration.php - juliancc - 2010-07-14

In order for me to include the common.php in a plugin file. The file cookie_functions.php need to have the path modified so that it uses the constant for the admin/inc path.
From this
Code:
require_once('inc/configuration.php');

to this.
Code:
require_once(GSADMININCPATH.'configuration.php');


Chris do you think you can include this change in the latest release if GS?


cookie_functions.php Path to configuration.php - Zegnåt - 2010-07-14

Added to the issues list, issue 57.

On the wrong computer at the moment, but I’ll get the cookie_functions.php change committed to the SVN tomorrow. Guess that means the change will get included in the next release ;-)


cookie_functions.php Path to configuration.php - juliancc - 2010-07-14

Cool thanks!


cookie_functions.php Path to configuration.php - Zegnåt - 2010-07-15

Just letting you know that cookie_functions.php has been updated in the last (r167) SVN version. Let us know if you need more changes like this, the usage of the constants is something that still needs implementing in the core and pointers just make it happen quicker.


cookie_functions.php Path to configuration.php - juliancc - 2010-07-16

Zegnåt Wrote:Just letting you know that cookie_functions.php has been updated in the last (r167) SVN version. Let us know if you need more changes like this, the usage of the constants is something that still needs implementing in the core and pointers just make it happen quicker.

Great thanks! If I bump in to other I will deff let you know.