Yii Framework Forum: Why is $options['relative_urls'] = false; line in TinyMCE extension? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Why is $options['relative_urls'] = false; line in TinyMCE extension? Rate Topic: -----

#1 User is offline   Jaime 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 33
  • Joined: 15-August 09

Posted 04 September 2009 - 05:41 PM

Hello...

I found these lines in ETinyMCE.php file:

// avoid URL headaches
$options['relative_urls'] = false;


The comment says, to avoid headaches, but honestly I think it is the contrary. With relative_urls = false, absolute URL's are used wherever a link appears, which is bad, specially if the content is uploaded using the development machine. When copying the database to the production server, all relative links will be pointing incorrectly to the development server (for example, images).

What headaches are the author of the extension talking about?

Thanks
Jaime
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users