1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 06:07:39 +02:00

uses PHP 5.2 features

This commit is contained in:
David Grudl
2024-09-03 16:31:38 +02:00
parent 35d5d62dc9
commit aaefbded18
7 changed files with 18 additions and 27 deletions

View File

@@ -45,7 +45,7 @@ function substFallBack($expr)
// define callback
$dibi->getSubstitutes()->setCallback('substFallBack');
$dibi->getSubstitutes()->setCallback(substFallBack(...));
// define substitutes as constants
define('SUBST_ACCOUNT', 'eshop_');