Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-05-31 22:40:00

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Config.php Options

What are all the options in config.php?  Specifically, what does secret and default do?

Offline

#2 2012-06-01 05:38:15

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Config.php Options

secret is used to create a unique filename for the cache configuration in tmp/cache/config and default is the defautl configuration name (just thinking ahead, maybe in the future, there will be more than one configuration profile).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2012-06-01 07:36:14

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Config.php Options

Cool!  I am assuming relative should be blank as well.  Will it hurt anything if I add my own options there?  I am messing around with some modules and I am trying to learn your framework better.

Offline

#4 2012-06-01 07:42:56

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Config.php Options

Whatever you add here is injected later on in the VF::cfg('config.config') configuration array. relative is used if the script is not installed in the base root (eg: http://www.domain.com/relative-where-sc … nstalled/)


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2012-06-01 17:39:10

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Offline

Board footer

Powered by FluxBB