|
Revision 10270, 1.1 kB
(checked in by Carl.Vondrick, 5 years ago)
|
1.1: added deprecated warnings to all sfCompatPlugin classes (closes #3882)
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
$sf_ez_lib_dir = sfConfig::get('sf_ez_lib_dir') ? sfConfig::get('sf_ez_lib_dir').'/' : ''; |
|---|
| 12 |
|
|---|
| 13 |
if (file_exists($sf_ez_lib_dir.'Base/src/base.php')) |
|---|
| 14 |
{ |
|---|
| 15 |
|
|---|
| 16 |
require_once($sf_ez_lib_dir.'Base/src/base.php'); |
|---|
| 17 |
} |
|---|
| 18 |
elseif (file_exists($sf_ez_lib_dir.'Base/base.php')) |
|---|
| 19 |
{ |
|---|
| 20 |
|
|---|
| 21 |
require_once($sf_ez_lib_dir.'Base/base.php'); |
|---|
| 22 |
} |
|---|
| 23 |
else |
|---|
| 24 |
{ |
|---|
| 25 |
throw new sfAutoloadException('Invalid eZ component library path.'); |
|---|
| 26 |
} |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
class sfEzComponentsBridge |
|---|
| 40 |
{ |
|---|
| 41 |
public static function autoload($class) |
|---|
| 42 |
{ |
|---|
| 43 |
return ezcBase::autoload($class); |
|---|
| 44 |
} |
|---|
| 45 |
} |
|---|
| 46 |
|
|---|