F
F
FMars2014-04-04 22:17:14
Kohana
FMars, 2014-04-04 22:17:14

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();
?>

got an error:
148337aded7e4d5eb54a0533ed4eef29.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Inteli Sense, 2014-04-04
@FMars

forum.kohanaframework.su/viewtopic.php?f=38&t=405
Isn't it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question