grunt-php2html
grunt-php2html copied to clipboard
PHP Error "Cannot GET *"
I'm running Windows 10, with PHP installed in the path via WAMP, and Node/Grunt installed as well.
I've got php2html installed and added to my gruntfile. When I run it, I get no errors. I get a list of files with a green OK status.
However, the processed files are empty except for a line that says:
Cannot GET [FILENAME]
Example:
Cannot GET /EmployeesOne.html
Is it required that the input files have the extension of .php? I'd like to leave the extensions the same, so .html
stays to .html
, .wc
stays .wc
, etc. I think that might be the issue, but I'm not sure. Also might be a PHP problem.
Grunt File:
php2html: {
default: {
options: {
processLinks: false,
htmlhint: false
},
files: [{
expand: true,
cwd: 'app',
src: '**/*.html',
dest: '../../jitWeb/',
ext: '.html'
}]
}
},