Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个应用程序分成 4 个 PHP 文件。应用程序的主要 PHP 代码和赢/输/退出页面。
当我在drupal上将代码实现到一个节点时,主PHP文件完全没有问题。当我单击退出时,链接到包含 exit.php 代码的其他节点,页面布局变得混乱。
如果您需要代码,请告诉我,包含 PHP 代码的 drupal 节点之间的链接似乎更有问题。
提前感谢您提供的任何帮助。
听起来您几乎将 php 代码编写为一个独立的应用程序,然后您通过编写 PHP 将其包含在 drupal 节点中。是这样吗?
如果是这样,您为什么不选择将其编写为模块?