aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 9e0d8e061..1e42228c4 100644
--- a/boot.php
+++ b/boot.php
@@ -508,6 +508,7 @@ if(! class_exists('App')) {
$this->argc = count($this->argv);
if((array_key_exists('0',$this->argv)) && strlen($this->argv[0])) {
$this->module = str_replace(".", "_", $this->argv[0]);
+ $this->module = str_replace("-", "_", $this->module);
}
else {
$this->argc = 1;