mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-15 22:45:55 +00:00
Fix subdomain check
This commit is contained in:
@@ -12,7 +12,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
|||||||
|
|
||||||
$this->input->setArgument('host', $host);
|
$this->input->setArgument('host', $host);
|
||||||
|
|
||||||
if (! $this->hasOption('subdomain')) {
|
if (! $this->option('subdomain')) {
|
||||||
$subdomain = str_replace('.', '_', basename(getcwd()));
|
$subdomain = str_replace('.', '_', basename(getcwd()));
|
||||||
$this->input->setOption('subdomain', $subdomain);
|
$this->input->setOption('subdomain', $subdomain);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user