Ahh yeah makes sense ;), I was just concerned with what comes after that if statement since it was called an "upgrade path" in the post, that is what made me assume action might be taken.<br><br>Very good! Thx!<br>
<br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">Johan Forngren</b> <<a href="mailto:johan@forngren.com">johan@forngren.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You have perhaps misunderstood the purpose of the patch. During the upgrade to Drupal 6 it will attempt to see if any files hosted inside the files within that Drupal installation and <span style="font-weight: bold;">if not
</span>; the default files folder will be changed. Otherwise, all files will remain the same.<div><span class="e" id="q_1121f0f94b0b8750_1"><br><br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">KevinImNotSpacey
</b> <<a href="mailto:kevin.amerson@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
kevin.amerson@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That's interesting! dang. We have a single site install and symlink the files off to a NAS, now it would be really annoying if some script attempted to move those files off the NAS simply because we left the default files/ folder.
<br><br>Perhaps this has been over-engineered at this point. Some people have multi-site installs, some people don't. There is already a warning that shows if Drupal thinks there is a problem with the files folder, maybe just add a note to that which states: Hey if you have a multi-site install consider doing
<span style="font-weight: bold;">this really cool thing over here</span>. Then provide them with a helper link to a function which sets up that really cool thing.<br><br>Kevin<div><span>
<br><br><div><span class="gmail_quote">On 4/23/07,
<b class="gmail_sendername">Johan Forngren</b> <<a href="mailto:johan@forngren.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">johan@forngren.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span>Hi all,<br><br>I need help with turning this query into something useful<br><br>SELECT fid FROM {files} WHERE filepath LIKE 'files/%' LIMIT 1<br></span><span><br><span style="color: rgb(102, 102, 102);">if (count(db_fetch_object(db
</span><span style="color: rgb(102, 102, 102);">_query("SELECT fid FROM {files} WHERE filepath LIKE 'files/%' LIMIT 1"))) == 1) {
</span><br><br></span><span>The purpose is to determine if there is some files within the dir 'files' registered in the db. I'm stuck at the db_* stuff, any help would be greatly appreciated. See also <a href="http://drupal.org/node/98824" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://drupal.org/node/98824</a> .<br><br>Thank you<br clear="all"></span><span><br>-- <br>Regards,<br> Johan Forngren <br><br> <a href="mailto:johan@forngren.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
johan@forngren.com</a> :: <a href="http://johan.forngren.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://johan.forngren.com/
</a>
</span></blockquote></div><br>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br> Johan Forngren <br><br> <a href="mailto:johan@forngren.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">johan@forngren.com
</a> :: <a href="http://johan.forngren.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://johan.forngren.com/
</a>
</span></div></blockquote></div><br>