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

updated for Nette 2.0 beta

This commit is contained in:
David Grudl
2011-04-21 01:52:02 +02:00
parent 8a899c7ddb
commit 0de947883b
7 changed files with 358 additions and 364 deletions

View File

@@ -26,11 +26,11 @@ if (version_compare(PHP_VERSION, '5.2.0', '<')) {
/**
* Compatibility with Nette
*/
if (interface_exists('Nette\\IDebugPanel')) {
class_alias('Nette\\IDebugPanel', 'IDebugPanel');
if (interface_exists('Nette\Diagnostics\IBarPanel')) {
class_alias('Nette\Diagnostics\IBarPanel', 'IBarPanel');
} elseif (!interface_exists('IDebugPanel')) {
interface IDebugPanel {}
} elseif (!interface_exists('IBarPanel')) {
interface IBarPanel {}
}