I want to use snippetmaster to allow users to edit pre design templates.
I am planning to use Xpanel (
http://www.xpanel.org ) to assign the subdomain to the users and then use snippetmaster to allow them to edit their pages (logos, slogans etc)
It is perfect for that but I have a problem. I want to purchase multiple license then have it pre-installed in a folder then copied to the user account and ready for the user to use once they sign up.
can snippet master use variables in the config file and read site path?
Example => in config.inc.php
$PATH = "/home/snippetm/public_html/snippetmaster";
$ROOT = "/home/snippetm/public_html";
$PREVIEW = "http://www.snippetmaster.com";
$URL = "http://www.snippetmaster.com/snippetmaster";
Create a client variable path value ($clientsubdomain) which will be read from the server path where snippetmaster installed.
Example
$PATH = "/home/mysitename/public_html/$clientsubdomain/snippetmaster";
$ROOT = "/home/mysitename/public_html/$clientsubdomain";
$PREVIEW = "http://$clientsubdomain.mysite.com";
$URL = "http://$clientsubdomain.mysite.com/snippetmaster";
I am not a programmer, I speak english not php. I said it in english can you say it in PHP for me.
can this be done ????