Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

tmp directory #29

Open
rauwebieten opened this issue Nov 24, 2017 · 0 comments
Open

tmp directory #29

rauwebieten opened this issue Nov 24, 2017 · 0 comments

Comments

@rauwebieten
Copy link

I'm testing this on a windows machine, where I don't have a /tmp folder.

The code generates an error (HamlPHP.php line 224)

$tempFileName = tempnam("/tmp", "foo");

You should use sys_get_temp_dir, or make this configurable.
http://php.net/manual/en/function.sys-get-temp-dir.php

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant