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

Remove the setting of parent headers, make more flexible to run the test... #5

Closed
wants to merge 2 commits into from
Closed

Conversation

harikt
Copy link
Member

@harikt harikt commented Dec 19, 2013

...s from the web kernel itself. Readme needs some love, the current one also is wrong for we don't have tests directory for the web-project ;) . @pmjones I feel this will help people to move the kernel some where else also.

…ests from the web kernel itself. Readme needs some love, the current one also is wrong for we don't have tests directory for the web-project ;) . @pmjones I feel this will help people to move the kernel some where else also.
@harikt
Copy link
Member Author

harikt commented Dec 19, 2013

Diff of aura/project/scritps/kernel.php

diff --git a/scripts/kernel.php b/scripts/kernel.php
index 29576d4..1b73d63 100644
--- a/scripts/kernel.php
+++ b/scripts/kernel.php
@@ -19,7 +19,10 @@ if (! isset($base)) {
 }

 // load any $_ENV changes
-require "{$base}/config/_env.php";
+$envfile = "{$base}/config/_env.php";
+if (file_exists($envfile)) {
+    require $envfile;
+}

@harikt
Copy link
Member Author

harikt commented Dec 19, 2013

@pmjones I will close this PR. But this works in kernel level.

@harikt harikt closed this Dec 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant