Created
October 23, 2012 17:00
-
-
Save 1gor/3940081 to your computer and use it in GitHub Desktop.
AppFog fix for Drupal 7's /tmp location error
This file contains hidden or 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 | |
*/ | |
$AF_tmp = realpath($_SERVER['DOCUMENT_ROOT'].'/../tmp'); | |
variable_set('file_temporary_path', $AF_tmp); | |
return $AF_tmp; | |
/* END */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment