Author: david
Date: Wed Aug 24 14:25:51 2011
New Revision: 9584

Log:
Revert to asset paths relative to sf_web_dir

Modified:
   trunk/lib/model/QubitDigitalObject.php

Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php      Wed Aug 24 14:23:45 2011        
(r9583)
+++ trunk/lib/model/QubitDigitalObject.php      Wed Aug 24 14:25:51 2011        
(r9584)
@@ -568,7 +568,7 @@
   }
 
   /**
-   * Get path to asset, relative to sf_upload_dir
+   * Get path to asset, relative to sf_web_dir
    *
    * @return string  path to asset
    */
@@ -584,7 +584,7 @@
    */
   public function getAbsolutePath()
   {
-    return sfConfig::get('sf_upload_dir').$this->path.$this->name;
+    return sfConfig::get('sf_web_dir').$this->path.$this->name;
   }
 
   /**

-- 
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.

Reply via email to