0
私は、Webアプリケーション用に異なるモジュールを含むディレクトリ 'modules'を持っています。すべてのモジュールのすべてのindex.phpを 'modules'フォルダに含めるにはどうしたらいいですか? Wordpressのは、そのプラグインをロードする方法としてPHP - ディレクトリを読み込んですべてのindex.phpをインクルード
そこで、基本的に同じ。
これは、 'モジュール' フォルダの構造である:
[modules]
[some-module]
- index.php
- functions.php
- other.php
[another-module]
- index.php
- stuff.php
[someother]
- index.php
- script.js
感謝!!