okumak, düzenlemek ve

0 Cevap php

Ben iki tane var configuration files. Bir ini biridir php. Olduğu Bunlar aşağıdaki gibi bakmak. I update the database file name gerekiyor ama dosyaların geri kalanı unchanged olmalıdır. Bunu yapmak için nasıl bir fikir?

config.ini

; Turning Debugging on
[test]
developer = true

; Production site configuration data
[production]
database.params.dbname   = /var/lib/firebird/data/radek_db.gdb

ve setting.php

<?php
/**
The settings file
*/

#This will be done automatically if u want to override it uncomment the next line few lines
/*
    $Path   = 'mainline';

#Database to connect to:
    $Database        =       "radek_db";
?>

0 Cevap