Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config tinker #17

Closed
gpibarra opened this issue Jul 15, 2019 · 2 comments

Comments

@gpibarra
Copy link

commented Jul 15, 2019

According to the documentation, the .psysh file must be placed in the root of the project, and Tinker finds it using the "getcwd" function, but when using tinker web, the "getcwd" returns "/ public" instead of the root of the project ("/") and does not correctly load the ".psysh" file

my file .psys example
<?php return [ 'runtimeDir' => './.psysh', 'configDir' => './.psysh', ];

@freekmurze

This comment has been minimized.

Copy link
Member

commented Jul 16, 2019

I don't have the time to look into this now, but feel free to submit a PR that fixes this.

@freekmurze

This comment has been minimized.

Copy link
Member

commented Jul 22, 2019

This has been fixed in the latest version.

@freekmurze freekmurze closed this Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.