The GLOBALS.php [message #12846] |
Sat, 13 September 2003 07:01 |
Nesrene
Messages: 25 Registered: April 2003 Location: Oslo
Karma: 0
|
Junior Member |
|
|
I find 4 instances of the GLOBALS.php:
[root@m1 forum]# find * -name 'GLOBALS.php'
GLOBALS.php
adm/GLOBALS.php
data/scripts/GLOBALS.php
data/include/GLOBALS.php
Are all these neccessary? In other words please explain the function of each one. As an old unix hack I am a fan of symlinks and would like to get rid of some of them
Reason is that it seems to be bugs in the config-system. I can change an item in the config-interface, ex. "Display IP..." and it will not reflect a change i both the ~/ and ~/adm/ one...
"History is written by those who have hanged heroes!"
|
|
|
Re: The GLOBALS.php [message #12848 is a reply to message #12846] |
Sat, 13 September 2003 07:06 |
Nesrene
Messages: 25 Registered: April 2003 Location: Oslo
Karma: 0
|
Junior Member |
|
|
Nesrene wrote on Sat, 13 September 2003 09:01 | I find ...4 instances of the GLOBALS.php:...
|
I run 2.5.2 btw.
"History is written by those who have hanged heroes!"
|
|
|
Re: The GLOBALS.php [message #12932 is a reply to message #12848] |
Thu, 18 September 2003 15:03 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There is only 1 physical GLOBALS.php, the rest are symlinks.
FUDforum Core Developer
|
|
|
|
Re: The GLOBALS.php [message #12952 is a reply to message #12932] |
Thu, 18 September 2003 15:53 |
Nesrene
Messages: 25 Registered: April 2003 Location: Oslo
Karma: 0
|
Junior Member |
|
|
prottoss wrote on Thu, 18 September 2003 17:03 | There is only 1 physical GLOBALS.php, the rest are symlinks.
|
Not on my system, all are regular files... But that explains alot. Which of the four should be the actual file?
"History is written by those who have hanged heroes!"
|
|
|
Re: The GLOBALS.php [message #12953 is a reply to message #12947] |
Thu, 18 September 2003 15:57 |
Nesrene
Messages: 25 Registered: April 2003 Location: Oslo
Karma: 0
|
Junior Member |
|
|
JamesS wrote on Thu, 18 September 2003 17:38 | An "old unix hack" that doesn't know how to tell if a file is a symlink?
|
Funney ey? All four are regular files. Probably as a result of a poor usage of tar at some point. Viewing the PHP-source to see how and from where all situations opens them are of corse the timeconsuming correct way rather than to just ask.
Grow up!
"History is written by those who have hanged heroes!"
|
|
|
Re: The GLOBALS.php [message #12961 is a reply to message #12953] |
Thu, 18 September 2003 16:50 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
GLOBALS.php inside the include/ directory is the 'primary' file. The others should by symlinks.
FUDforum Core Developer
|
|
|
Re: The GLOBALS.php [message #12975 is a reply to message #12961] |
Thu, 18 September 2003 17:21 |
Nesrene
Messages: 25 Registered: April 2003 Location: Oslo
Karma: 0
|
Junior Member |
|
|
prottoss wrote on Thu, 18 September 2003 18:50 | GLOBALS.php inside the include/ directory is the 'primary' file. The others should by symlinks.
|
Thanks, are there any other important symlincs?
"History is written by those who have hanged heroes!"
[Updated on: Thu, 18 September 2003 17:21] Report message to a moderator
|
|
|
Re: The GLOBALS.php [message #12976 is a reply to message #12975] |
Thu, 18 September 2003 17:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There are no more symlinks that the forum uses.
FUDforum Core Developer
|
|
|
|