Skip to content

Commit

Permalink
fixed: moudle directory
Browse files Browse the repository at this point in the history
recoye committed Mar 13, 2020
1 parent c7d4b9e commit 3c6ec7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaf_dispatcher.c
Original file line number Diff line number Diff line change
@@ -292,7 +292,7 @@ zend_class_entry *yaf_dispatcher_get_controller(zend_string *app_dir, zend_strin
directory_len = snprintf(directory, sizeof(directory),
"%s%c%s", ZSTR_VAL(app_dir), DEFAULT_SLASH, YAF_CONTROLLER_DIRECTORY_NAME);
} else {
directory_len = snprintf(directory, 0,
directory_len = snprintf(directory, sizeof(directory),
"%s%c%s%c%s%c%s", ZSTR_VAL(app_dir), DEFAULT_SLASH, YAF_MODULE_DIRECTORY_NAME,
DEFAULT_SLASH, ZSTR_VAL(module), DEFAULT_SLASH, YAF_CONTROLLER_DIRECTORY_NAME);
}

0 comments on commit 3c6ec7c

Please sign in to comment.