ubuntu上thinkphp静态资源如何处理
导读:在Ubuntu上使用ThinkPHP框架时,处理静态资源(如CSS、JavaScript、图片等)通常涉及以下几个步骤: 配置静态资源目录: ThinkPHP默认的静态资源目录是public。你可以在项目的application目录下找...
在Ubuntu上使用ThinkPHP框架时,处理静态资源(如CSS、JavaScript、图片等)通常涉及以下几个步骤:
-
配置静态资源目录: ThinkPHP默认的静态资源目录是
public。你可以在项目的application目录下找到config.php文件,并配置静态资源目录。return [ // 其他配置... 'url_route_on' => true, 'url_route_must_subdomain' => false, 'default_theme' => 'default', 'default_static_domain' => '', 'static_domain' => '', 'static_path' => '', 'static_url' => '', 'static_subdomain' => false, 'static_prefix' => '', 'static_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl' => false, 'static_domain_path' => '', 'static_domain_url' => '', 'static_domain_subdomain' => false, 'static_domain_prefix' => '', 'static_domain_suffix' => '', 'static_domain_ssl
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: ubuntu上thinkphp静态资源如何处理
本文地址: https://pptw.com/jishu/782248.html
