|
@@ -24,10 +24,8 @@ require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Mall'
|
|
$serviceName = Factory::request()->param('service');
|
|
$serviceName = Factory::request()->param('service');
|
|
$serviceName = ucfirst($serviceName);
|
|
$serviceName = ucfirst($serviceName);
|
|
$daemonize = intval(Factory::request()->param('daemonize'));
|
|
$daemonize = intval(Factory::request()->param('daemonize'));
|
|
-var_dump($daemonize);
|
|
|
|
|
|
|
|
$serviceConfigPath = __DIR__ . DIRECTORY_SEPARATOR . $serviceName . DIRECTORY_SEPARATOR . 'Config'.DIRECTORY_SEPARATOR.'Config.php';
|
|
$serviceConfigPath = __DIR__ . DIRECTORY_SEPARATOR . $serviceName . DIRECTORY_SEPARATOR . 'Config'.DIRECTORY_SEPARATOR.'Config.php';
|
|
-var_dump($serviceConfigPath);
|
|
|
|
if (!file_exists($serviceConfigPath)) {
|
|
if (!file_exists($serviceConfigPath)) {
|
|
exit($serviceConfigPath . 'config file is not found');
|
|
exit($serviceConfigPath . 'config file is not found');
|
|
}
|
|
}
|