Created
December 27, 2013 22:21
-
-
Save cdnsteve/8153465 to your computer and use it in GitHub Desktop.
RE: Drupal Error on Appfog
Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s):
Just add this snippet to settings.php without changing core.
Flush your cache and then you're good to go!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Force location of /tmp for Appfog | |
*/ | |
$conf['file_temporary_path'] = realpath($_SERVER['DOCUMENT_ROOT'].'/../tmp'); | |
/* END */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment