|
@@ 550-551 (lines=2) @@
|
| 547 |
|
require_once $include_root .'/'. substr($requirements[$function], strrpos($requirements[$function], '\\')+2); |
| 548 |
|
if (substr($function, 0, 6) != 'class.') |
| 549 |
|
$function = substr($requirements[$function], 0, strrpos($requirements[$function], '\\')+1).$function; |
| 550 |
|
else |
| 551 |
|
$function = 'class.'.substr($requirements[$function], 0, strrpos($requirements[$function], '\\')+1).substr($function, 6); |
| 552 |
|
} else |
| 553 |
|
require_once $include_root .'/'. $requirements[$function]; |
| 554 |
|
else |
|
@@ 560-561 (lines=2) @@
|
| 557 |
|
require_once $include_root .'/'. substr($requirement, strrpos($requirement, '\\')+2); |
| 558 |
|
if (substr($function, 0, 6) != 'class.') |
| 559 |
|
$function = substr($requirement, 0, strrpos($requirement, '\\')+1).$function; |
| 560 |
|
else |
| 561 |
|
$function = 'class.'.substr($requirement, 0, strrpos($requirement, '\\')+1).substr($function, 6); |
| 562 |
|
} else |
| 563 |
|
require_once $include_root.'/'.$requirement; |
| 564 |
|
if (!function_exists($function)) |