In the code in config.php there is:
function config_set($setting, $dvalue) {}
Could we do at the top of config.php
config_set('url', 'http://somesite.com/');
Then once reload the site, this field is saved in the database, then
remove that line?
That would save a lot of time!
OR:
$aiki->config->set('url');
We need a solution now...it really takes too much time all this dumping,
and hand tweaking.
--
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/927527
Title:
there is not an easy way to change aiki_config options from config.php
Status in Aiki Framework:
Confirmed
Bug description:
It is totally silly and laborious that the path to moving an aiki site
involved dumping the database and then hand editing the aiki_config
table that is serialized data, or doing this from mysql client.
We need a simple way like in wordpress to do:
set_config('url', 'http://somesite.com/');
and be able to run this from a config.php file once, so we can update
a site rather than the alternative.
Could we get this done for this 0.9.0 release? I can't stand doing
this anymore and some way to set all the aiki_config options from the
config.php would be supervaluable override. Wordpress can do this, and
we should be able to do it to!
rg1024, what do you think? Is there a good simple way to get this done
now and then be compatible with your config class work coming up?
To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/927527/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help : https://help.launchpad.net/ListHelp