PDA

View Full Version : file to let DA execute custom functions after update


bassjuh
06-20-2006, 09:07 AM
Hi! :)

I have a request which may come in handy for some people i think. Let DA read a file and execute it after every update to allow users to restore files etc..

The problem is that when you set open_basedir restriction for users and you run DA update. the files are set back to default? or am i missing something :D

Im sorry if this feature is already implemented or if there is another solution for this, i couldn't find any.

jlasman
06-20-2006, 05:32 PM
Where are you doing the open_basedir?

You should always make these kinds of changes by first moving the templates from the DA template directory to the custom directory and then changing them there.

Then DA won't change them.

Jeff

bassjuh
06-21-2006, 12:15 AM
I only made the changes in the custom directory, my bad. so now i did make the changes in both templates and custom directory.

Thnx for the help :)
Bastiaan

jlasman
06-21-2006, 06:22 PM
You shouldn't be making the changes in the templates directory, but rather only in the templates/custom directory.

Jeff

bassjuh
06-22-2006, 02:43 AM
Ok you got me confused here for a second :D I think what i said wasn't right, last time i made a change to all files in the templates directory, and at that point the custom directory didn't exist. So i guess i should leef the template files alone and asoon as i want to change 1 or 2 copy them to the custom dir. and change them there.

( i read your previous post wrong, my apologies )

Again, Thanks for the help
Bastiaan