How do I install the smartadmin.cgi to a different directory?greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread
I have tried several times to install the smartadmin.cgi to its' own directory but no luck. What files and/or directories need to accompany the smartadmin.cgi to the new directory? Thanks in advance.
-- John Paulson (firstname.lastname@example.org), June 26, 1998
It looks like the only file that is required is smart.cfg. You could change the require ('smart.cfg') to point to a common directory that s-mart.cgi can also see(recommended)or place a copy of it in the directory. As long as all your databases are in the same directory, it should work. The database files are pointed to be the $basepath variable.
Can I ask why you would want to move the admin. script?
-- Tom (email@example.com), June 26, 1998.
The reason I want to place the smartadmin.cgi in another directory is so that I can password protect it.
-- John Paulson (firstname.lastname@example.org), June 28, 1998.