I am working redoing the shipworks one file plugin. This file comes from Osc as just a drop in file into admin that the computer based shipworks program accesses.
I have converted osc contributions before but this has a new twist to it. In order to access the database I've included code/files but then run up against the illegal access problem. As Osc has no inbuilt admin/session management, they have made no allowances for this in the shipworks plugin.
I can't access the file any other way than directly accessing it on the web. The shipworks program only gives a generic error when encountering any problems. They have assured me that nothing in their program is cart specific so only the shipworks.php file needs changing.
So how in the world do I add in the admin/sessions management (I'm assuming it's like the cart itself) to that lone file?