mirror of
https://github.com/dg/dibi.git
synced 2025-02-24 02:43:09 +01:00
fixed Nette compatibility [Closes #23]
This commit is contained in:
parent
c052582670
commit
90592929ec
@ -25,10 +25,10 @@ if (version_compare(PHP_VERSION, '5.2.0', '<')) {
|
||||
/**
|
||||
* Compatibility with Nette
|
||||
*/
|
||||
if (interface_exists('Nette\\IDebugPanel', FALSE)) {
|
||||
if (interface_exists('Nette\\IDebugPanel')) {
|
||||
class_alias('Nette\\IDebugPanel', 'IDebugPanel');
|
||||
|
||||
} elseif (!interface_exists('IDebugPanel', FALSE)) {
|
||||
} elseif (!interface_exists('IDebugPanel')) {
|
||||
interface IDebugPanel {}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user