Skip to content
Snippets Groups Projects
Commit 9887c9ee authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Add support for SimplePie 1.3

parent 84f1c133
No related branches found
No related tags found
No related merge requests found
...@@ -446,18 +446,15 @@ class FeedsWebTestCase extends DrupalWebTestCase { ...@@ -446,18 +446,15 @@ class FeedsWebTestCase extends DrupalWebTestCase {
$filename = 'simplepie.mini.php'; $filename = 'simplepie.mini.php';
// Avoid downloading the file dozens of times // Avoid downloading the file dozens of times
$library_dir = $this->originalFileDirectory . '/simpletest/feeds'; $library_dir = DRUPAL_ROOT . '/' . $this->originalFileDirectory . '/simpletest/feeds';
$simplepie_library_dir = $library_dir . '/simplepie'; $simplepie_library_dir = $library_dir . '/simplepie';
if (!file_exists($library_dir)) { if (!file_exists($library_dir)) {
mkdir($library_dir, '0777', TRUE); drupal_mkdir($library_dir);
}
else {
drupal_chmod($library_dir, '0777');
} }
if (!file_exists($simplepie_library_dir)) { if (!file_exists($simplepie_library_dir)) {
mkdir($simplepie_library_dir, '0777', TRUE); drupal_mkdir($simplepie_library_dir);
} }
// Local file name. // Local file name.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment