diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 06:57:04 +0000 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 06:57:04 +0000 |
commit | fd081159f1783918d81e355e25e262ccc5249913 (patch) | |
tree | 2f86972f5f216c51d6a7153d404f72c0cc4a093f /modules/gallery_unit_test/controllers | |
parent | 2917740ba6d210ef43d4de228f8386e3b28adf62 (diff) |
Windows fixes: Use mkdir($path, 0777, true) instead of the unportable system("mkdir -p $path")
Diffstat (limited to 'modules/gallery_unit_test/controllers')
-rw-r--r-- | modules/gallery_unit_test/controllers/gallery_unit_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php index 8e5c90c3..9a653b1f 100644 --- a/modules/gallery_unit_test/controllers/gallery_unit_test.php +++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php @@ -72,7 +72,7 @@ class Gallery_Unit_Test_Controller extends Controller { // Clean out the filesystem @system("rm -rf test/var"); - @system('mkdir -p test/var/logs'); + @mkdir('test/var/logs', 0777, true); // Reset our loaded modules module::load_modules(); |