klml / drfrederson

static website generator powered by PHP, YAML, Markdown and mustache
MIT License
10 stars 1 forks source link

move the source file write function from make.php #11

Open klml opened 6 years ago

klml commented 6 years ago

make.php creates the site (html and json files) from source-files.

Additionally make.php writes content from webedit to source-files in make.php#L54

This is confusing, due the file is called make.php and not write-source-and-make.php. And this could be an security issue.

I want to move this function from make.php to a single file (as microservice).