mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2021-06-30 16:02:14 +02:00
SFTP transport added
This commit is contained in:
@@ -16,10 +16,11 @@ class Scenario {
|
||||
|
||||
public static function register()
|
||||
{
|
||||
spl_autoload_register(array(__CLASS__, 'autoload'));
|
||||
include __DIR__.'/../../vendor/autoload.php';
|
||||
//spl_autoload_register(array(__CLASS__, 'autoload'));
|
||||
}
|
||||
|
||||
public static function autoload($class)
|
||||
/*public static function autoload($class)
|
||||
{
|
||||
if (strpos($class, __NAMESPACE__.'\\') === 0)
|
||||
{
|
||||
@@ -27,7 +28,7 @@ class Scenario {
|
||||
$translated_path = str_replace('\\', '/', $relative_NS);
|
||||
require __DIR__ . '/' . $translated_path . '.php';
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* @param array $scenario
|
||||
|
Reference in New Issue
Block a user