You could also try this to make it variable throughout multiple sites
on your server if you are in a shared hosting environment
define('DIR_ABS', $_SERVER["DOCUMENT_ROOT"] . '/');
// Always Include trailing slash "/" in Direcories
define('DIR_ABS','/usr/local/www/http://www.parentsawake.com/');
define('WS_SIMPL','simpl/');
define('WS_SIMPL_IMAGE','img/');
define('WS_SIMPL_INC','inc/');
define('WS_SIMPL_CSS','css/');
define('WS_SIMPL_JS','js/');
define('WS_CACHE','cache/');
define('FS_SIMPL',DIR_ABS . WS_SIMPL);
define('FS_CACHE',FS_SIMPL . WS_CACHE);
--
Nick D.
--
Nick D.
--
Nick D.
On Thu, Mar 13, 2008 at 8:13 AM, marion <mar...@spiderweb.com.au> wrote:
>
> what is this setting for?
>
> define('DB_DEFAULT', 'simpl_example');
>
> is it the name of my database?
>
>
>
> On Mar 13, 9:58 pm, "Nick DeNardis" <nick.denar...@gmail.com> wrote:
> > You should not have to change anything except the db info
> > Sent from my BlackBerry(R) wireless device
--
Nick D.
define('DIR_ABS', $_SERVER["DOCUMENT_ROOT"] . '/examples/');
--
Nick D.
Make sure PHPSimpl is uploaded to:
/home/parents/public_html/simpl/
It was just looking for simpl inside the /examples folder. Make sure
you have this for your DIR_ABS:
define('DIR_ABS', $_SERVER["DOCUMENT_ROOT"] . '/examples/');
--
Nick D.
--
Nick D.
--
Nick D.
You dont need to access the simpl folder from the web, it needs to be
included into an application like the example.
--
Nick D.
--
Nick D.
The advantage of having it below web root is that the files are not
accessible from the web, we recommend it be below the web root.
--
Nick D.
And change this define:
define('FS_SIMPL', '/home/parents/simpl/');
And you should be all set.
--
Nick D.
--
Nick D.