Categories
Kohana: Is it possible to add or change data in a config file and save it?
Kohana version 3.3.1 Tried like this:
<?php $config = Kohana::$config->load('system'); $config->set("data","MyContent"); $config->save(); ?>
Answer the question
In order to leave comments, you need to log in
forum.kohanaframework.su/viewtopic.php?f=38&t=405 Isn't it?
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question