aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/factory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/factory.rs')
-rw-r--r--crates/shirabe/src/factory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/factory.rs b/crates/shirabe/src/factory.rs
index 6d788f4..975c558 100644
--- a/crates/shirabe/src/factory.rs
+++ b/crates/shirabe/src/factory.rs
@@ -1328,7 +1328,7 @@ impl Factory {
static mut WARNED: bool = false;
let mut disable_tls = false;
// allow running the config command if disable-tls is in the arg list, even if openssl is missing, to allow disabling it via the config command
- let argv = shirabe_php_shim::server_argv();
+ let argv: Vec<String> = std::env::args().collect();
if !argv.is_empty()
&& argv.contains(&"disable-tls".to_string())
&& (argv.contains(&"conf".to_string()) || argv.contains(&"config".to_string()))