mirror of
https://github.com/php-win-ext/php-sdk-binary-tools.git
synced 2026-03-24 17:12:12 +01:00
revert some non-obvious getters, explicit specification of abstract classes null -> NULL 4 space -> tab
27 lines
546 B
PHP
27 lines
546 B
PHP
<?php
|
|
|
|
spl_autoload_register(function($name) {
|
|
$fl = __DIR__ . DIRECTORY_SEPARATOR . "libsdk" . DIRECTORY_SEPARATOR . $name . ".php";
|
|
|
|
if (file_exists($fl)) {
|
|
require_once $fl;
|
|
}
|
|
});
|
|
|
|
spl_autoload_register(function($name) {
|
|
$fl = getenv("PHP_SDK_ROOT_PATH") . DIRECTORY_SEPARATOR . "pgo" . DIRECTORY_SEPARATOR . "cases" . DIRECTORY_SEPARATOR . $name . ".php";
|
|
|
|
if (file_exists($fl)) {
|
|
require_once $fl;
|
|
}
|
|
});
|
|
|
|
/*
|
|
* Local variables:
|
|
* tab-width: 4
|
|
* c-basic-offset: 4
|
|
* End:
|
|
* vim600: sw=4 ts=4 fdm=marker
|
|
* vim<600: sw=4 ts=4
|
|
*/
|