From f841d1a764c4aa6aa6d2a58daa401be615f4e873 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 9 Oct 2008 00:02:29 +0000 Subject: #142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :) --- modules/simpletest/simpletest.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/simpletest/simpletest.install') diff --git a/modules/simpletest/simpletest.install b/modules/simpletest/simpletest.install index 4d549399b..a1ceeb974 100644 --- a/modules/simpletest/simpletest.install +++ b/modules/simpletest/simpletest.install @@ -33,7 +33,7 @@ function simpletest_install() { $original = drupal_get_path('module', 'simpletest') . '/files'; $files = file_scan_directory($original, '/(html|image|javascript|php|sql)-.*/'); foreach ($files as $file) { - file_copy($file->filename, $path . '/' . $file->basename); + file_unmanaged_copy($file->filename, $path . '/' . $file->basename); } $generated = TRUE; } -- cgit v1.2.3