Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 6:36 pm (All times are UTC )

 




Post new topic Reply to topic  [ 3 posts ] 
Author Message
Posted: Sat Apr 29, 2006 2:47 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 428
Hi,
I've tested with Joomla 1.5 and I have a problem with
the new defined vars in the configuration.php file.
The prefix "mos", has been removed for some vars
while others have very different name.
Understanding the "re-branding effort" of Joomla's
team , I have no objection for this.
Unfortunately the name chose for certain variables is
just too generic. I mean such variables are often used
by other scripts (example coppermine, phpbb etc..)
I think especially to vars related to database i.e;
$db,$user, $password.
A problem will appear, as soon as
you'll try to integrate these scripts to joomla 1.5.
There will be a conflict between joomla's vars and  script's ones.
Off course, there's certainly solutions to bypass this trivial
problem , but why not at the begin give to Joomla's var
in the configuration file less trivial names ?
Maybe it would be uselessly complicated, to
use dynamical vars; I mean , appending a prefix to all these
vars  name ? Don't wanna use 'jos' ?


Top
  E-mail  
 
Posted: Sat Apr 29, 2006 6:49 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Wed Aug 17, 2005 11:03 pm
Posts: 1356
Location: New Orleans, Louisiana
Joomla 1.5+ configuration variables are fields in a configuration class... they do not site in global scope so this is not an issue.

http://dev.joomla.org/component/option, ... d,33/p,10/

Louis

_________________
Development Working Group Coordinator
http://webimagery.net - Consulting
http://jxtended.com - Solutions for Joomla! 1.5
A hacker does for love what others would not do for money.


Top
  E-mail  
 
Posted: Sat Apr 29, 2006 8:48 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 428
All right. Thanks. Seems there's too much changes on this last version.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Quick reply

 



Who is online

Users browsing this forum: asadallahi, dhuelsmann, nono1974, sx_codank, yekibud, zombies and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group