|
From: Matthew M. <mcn...@tu...> - 2001-03-22 17:13:32
|
As soon as I finished the plugin design, Jeremy said "can't you put it in the plugin directory?" Well I could not because the install includes the mainfile to get the dbconnect function. mainfile then calls the config which is no longer in the working directory. In other words, it blows up. So I promptly ignored him :) However, Jeremy was working on a neat little installation setup and was having problems accessing mainfile from a higher directory. He then had a moment of clarity, "Why not move the functions I need into my page?" So anyway, the plugin setup should be able live in plugin directory if the dbconnect function is copied and called in the file along with the config. This will eliminate the setup program having to exist in the root. Haven't tested it yet but it should work. Thanks jagee. Matt P.S. Trudging through calendar rewrite. Some neat stuff should port over into phpwebsite. For example, graphics don't have to be uploaded everytime you want to use them. Developers can contact me if you want a sneak peek. |