From d3f2f87fbc2abd66d5336acd79e150e839d01034 Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 6 Apr 2016 00:56:04 +0100 Subject: [PATCH] fix file names (php->api) --- creating_modules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/creating_modules.md b/creating_modules.md index 3b5fcf7..4214e89 100644 --- a/creating_modules.md +++ b/creating_modules.md @@ -16,14 +16,14 @@ A basic module will request information through AngularJS to PHP, and then the P +-------------------+ +--------------+ +-----------+ +------+ ``` -A module will contain at least four files required to function. A `module.html` that contains the HTML for the module, A `module.info` that contains the name, description, version and author of the module in JSON format, a `module.js` file inside of the `js/` folder that contains the AngularJS, and finally a `module.php` file inside of the `php/` folder. It is structured like this: +A module will contain at least four files required to function. A `module.html` that contains the HTML for the module, A `module.info` that contains the name, description, version and author of the module in JSON format, a `module.js` file inside of the `js/` folder that contains the AngularJS, and finally a `module.php` file inside of the `api/` folder. It is structured like this: ``` . ├── js │   └── module.js ├── module.html ├── module.info -└── php +└── api └── module.php ```