This is not compatible. We must revise all files:!! $config[SITENAME][OPTION];
another idea can be encapsulated config in a class and make changes like this, more easy. For example: $aiki->config->get("db_name"); $aiki->config->set("debug","on"); // set only for actual page $aiki->config->store("language","es"); // store permanently $aiki->config->remeber("records-per-page",50); // set only for actual session. The class must: - determine how store the variable. - determine if it a user, sites o aiki variable For some time we can use $global config in this class to provide compatibility. class config { function get ($var) { global $config; if ( isset($config[$var])) return $config[$var] .....our new algorithm.. } -- You received this bug notification because you are a member of Aiki Framework Developers, which is a bug assignee. https://bugs.launchpad.net/bugs/795393 Title: the config coptions in config.php not ready for multiple sites Status in Aiki Framework: Confirmed Bug description: The config options in configs/config.php are not ready for multiple sites. Need to figure out some structure for multi-sites. For backwards compatibility could do: $config[SITENAME][OPTION]; ex: $config['example.org']['db_name'] = 'example_org'; Any other thoughts? But have to think this through, since no current option could have an OPTION name To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/795393/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp