Is it possible to prepend a header file (for example header.php) to any request (for example page.html) without URL Rewriting | redirecting URLs with Apache's mod_rewrite | Running as PHP.
1 回答
1
是的,您可以通过在(PHP 配置)中设置auto_prepend_file
选项来实现这一点。php.ini
这仅在请求其他 PHP 文件时才有效。
于 2014-11-16T13:26:00.797 回答