Note to Developers: Configuration changes

If you've downloaded the FAF sourcecode, and have question, please leave them here.
Post Reply
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

(Perhaps there ought to be a better place of putting this. But I think this forum will do.

I recently overhauled our configuration system to allow pages to access the configuration of all servers more easily. You can see the new format of the configuration here:
http://frostnflame.org/?source&script=config

The big switch/case statement has been replaced by calls to end_global_config(); and server_specific_config(<num>). If you are upgrading, you will have to change that in your config.php as well. Fortunately, the change is minor.

Also, find-server.php has been removed (merged into conf-proc.php with some slight changes), so pages including it (generally those that are meant to run without including header.php or html.php (index, forum, logout, etc.) need to have that line removed. Just upgrading these should be fine, as there is usually no call for their local modification.
:wq
User avatar
Freenhult
13th Division Captain
Posts: 3380
Joined: Mon Jan 02, 2006 2:30 am
Location: Valparaiso
Contact:

Post by Freenhult »

I am gonna pin this for the time being.
Nami kotogotoku, waga tate to nare. Ikazuchi kotogotoku, waga yaiba to nare. Sōgyo no Kotowari!

波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !

Every wave be my shield, every lightning become my blade!
User avatar
bjornredtail
Warbands Admin
Posts: 821
Joined: Tue Apr 20, 2004 12:07 am
Contact:

Post by bjornredtail »

Oh...
I see.
0===)=B=j=o=r=n==R=e=d=t=a=i=l==>
Warbands Admin

"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members