Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3.3.3 global library的反馈 #556

Open
serverglen opened this issue Sep 14, 2021 · 2 comments
Open

V3.3.3 global library的反馈 #556

serverglen opened this issue Sep 14, 2021 · 2 comments
Assignees

Comments

@serverglen
Copy link

serverglen commented Sep 14, 2021

PHP Version 8.0.9
yaf Version 3.3.3

yaf.ini
[yaf]
extension="yaf.so"
yaf.environ="product"
yaf.library="/home/work/php/phplib"
yaf.cache_config=0
yaf.name_suffix=0
yaf.name_separator=_
yaf.st_compatible=1
yaf.action_prefer=1
yaf.forward_limit=5
yaf.lowcase_path=1
yaf.use_namespace=0
yaf.use_spl_autoload=1

/home/work/php/phplib目录下的所有子目录都是小写的,但是所有文件都是大写驼峰命名的。比如:
image

这样的话配置lowcase_path = 1,对于Log_File类,yaf就会查找log/file.php,而不是log/File.php
所以yaf是不是也可以支持这种目录是小写,文件名是大写驼峰开头格式的配置?

thanks。

@laruence laruence self-assigned this May 19, 2022
@laruence
Copy link
Owner

我想想,类似lowcase_directory

@serverglen
Copy link
Author

文件名是大写驼峰开头格式的配置?

我在内部已经改好了,后面贡献出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants