libretime/legacy/application/configs/airtime-conf.php
Julien Valentin 3a8dcbce60
feat(legacy): update deprecated PHP code (#2789)
### Description
update deprecated code. It's mergeable with master without syntax
conflicts across php versions
remove deprecated((https://www.php.net/manual/fr/function.strftime.php))
and unsafe (https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=strftime)
**strftime** syntax

---------

Co-authored-by: mp3butcher <mp3butcher@gmail.com>
Co-authored-by: jo <ljonas@riseup.net>
Co-authored-by: Kyle Robbertze <kyle@paddatrapper.com>
2025-03-12 23:19:18 +00:00

26 lines
810 B
PHP

<?php
// This file generated by Propel 1.7.3-dev convert-conf target
// from XML runtime conf file /var/www/html/build/runtime-conf.xml
$conf = [
'datasources' => [
'airtime' => [
'adapter' => 'pgsql',
'connection' => [
'dsn' => 'pgsql:host=localhost;port=5432;dbname=airtime;user=airtime;password=airtime',
],
],
'airtime_test' => [
'adapter' => 'pgsql',
'connection' => [
'dsn' => 'pgsql:host=localhost;port=5432;dbname=airtime_test;user=airtime;password=airtime',
],
],
'default' => 'airtime',
],
'generator_version' => '1.7.3-dev',
];
$conf['classmap'] = include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'classmap-airtime-conf.php';
return $conf;