bugGnuheter - Bugs: bug #534, config.php inkluderas väldigt ofta

 
 

bug #534: config.php inkluderas väldigt ofta

Submitted by:  Patrik Wallström <pawal>
Submitted on:  Tue 04 Jun 2002 12:16:24 AM UTC  
 
Category: TodoSeverity: 1,5
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 04 Jun 2002 12:16:24 AM UTC, original submission:

Flera saker borde göras med config.php. En är att som i PostNuke att sätta alla konfigurations-variabler i en enda hash, t ex

$config['sitename']='Gnuheter';

Denna hash kan sedan få vara global. Detta betyder att config.php bara behöver laddas en gång. Det är många funktioner som laddar den för att få alla config-variabler i sitt lokala scope, istället för att göra de nödvändiga config-variablerna globala. Förståeligt iofs, men fel.

Patrik Wallström <pawal>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Fri 19 Jul 2002 10:00:00 PM UTCpawalCategoryNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1