Author: david
Date: Wed Dec 8 15:58:20 2010
New Revision: 8879
Log:
Don't symlink() on Windows. Fixes issue #1908.
Modified:
trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php
Modified: trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php
==============================================================================
--- trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php Wed Dec 8
00:02:13 2010 (r8878)
+++ trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php Wed Dec 8
15:58:20 2010 (r8879)
@@ -582,6 +582,11 @@
public static function addSymlinks()
{
+ if ($_SERVER['WINDIR'])
+ {
+ return;
+ }
+
$symlinks = array('sf' =>
sfConfig::get('sf_root_dir').'/vendor/symfony/data/web/sf');
foreach ($symlinks as $name => $path)
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.