Welcome Guest, Not a member yet? Register   Sign In
Creating a new "shared" folder for models and libraries
#5

[eluser]Natebot[/eluser]
I would prefer a soft error with some attempt at error correcting. It could look in a conventional location first before complaining. The index.php file already does this for the other path constants, that's why I suggest SHAREPATH can be treated there too.

You could replicate that treatment inside MY_Loader too, for those who install it without altering their index.php, followed by a warning in the log.

Could we use the constants.php config file to store this path? I'm not sure what what point it is loaded. Would that be considered a bit more friendly than a new index.php?


Messages In This Thread
Creating a new "shared" folder for models and libraries - by El Forum - 11-27-2009, 02:45 AM
Creating a new "shared" folder for models and libraries - by El Forum - 11-27-2009, 03:32 AM
Creating a new "shared" folder for models and libraries - by El Forum - 12-20-2009, 02:49 AM
Creating a new "shared" folder for models and libraries - by El Forum - 12-21-2009, 08:36 AM
Creating a new "shared" folder for models and libraries - by El Forum - 12-21-2009, 01:21 PM
Creating a new "shared" folder for models and libraries - by El Forum - 12-24-2009, 04:46 AM
Creating a new "shared" folder for models and libraries - by El Forum - 01-01-2010, 02:26 PM
Creating a new "shared" folder for models and libraries - by El Forum - 01-03-2010, 09:02 AM
Creating a new "shared" folder for models and libraries - by El Forum - 02-18-2010, 10:00 AM
Creating a new "shared" folder for models and libraries - by El Forum - 09-24-2010, 06:53 AM
Creating a new "shared" folder for models and libraries - by El Forum - 07-30-2014, 01:29 PM
Creating a new "shared" folder for models and libraries - by El Forum - 08-04-2014, 08:50 AM
Creating a new "shared" folder for models and libraries - by El Forum - 08-04-2014, 09:35 AM
Creating a new "shared" folder for models and libraries - by El Forum - 08-27-2014, 10:25 AM
Creating a new "shared" folder for models and libraries - by El Forum - 08-29-2014, 09:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB