文件操作 - database.php
返回文件管理
返回主菜单
删除本文件
文件: /var/softaculous/slims/database.php
编辑文件内容
<?php return [ /** * Default database node profile */ 'default_profile' => 'SLiMS', /** * SLiMS as Service, One SLiMS for many library * ---------------------------------------------------- * * Switching database node access based on rule, * such as domain, ip, port etc * * How to : * 1. make file with name database_proxy.php in config/ * 2. make your own rule in that file. * 3. change this value to true */ 'proxy' => false, /** * Nodes profile */ 'nodes' => [ 'SLiMS' => [ 'host' => '[[softdbhost]]', 'database' => '[[softdb]]', 'port' => 3306, 'username' => '[[softdbuser]]', 'password' => '[[softdbpass]]', 'options' => [ 'storage_engine' => 'MyISAM' ] ], // add more here ] ];
修改文件时间
将文件时间修改为当前时间的前一年
删除文件