The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
The Infamous Dots... Help!
I've not a clue what this does... The dots next to blocks etc..
For example: PHP Code:
PHP Code:
Any explanation would be appreciated. |
#2
|
||||
|
||||
hmm the first dot in the require has something to do with directorystructures, but AFAIK it's not needed.
the dot before the = means that the following string will be concatenated to the original and so works like $something += 3; |
#3
|
||||
|
||||
in english, the $text .= "more text" will just append "more text" to the end of whatever the variable was before
and the first one yes is for directory structure, the dot means to go up a level (i think) so ./ is go up then down a level or something like that |
#4
|
||||
|
||||
actually, the dot in ./ means the same directory .. so
require ("./file.php"); is the same as require ("file.php"); its really not needed unless you are going one directory back, then you would do: require ("../file.php"); |
#5
|
||||
|
||||
The dot after templates used, is different to the dot before a / for a directory. Xenon and mr_e explained them beautifully.
|
#6
|
||||
|
||||
Thanks people. I read understand now. So it's basically a thing that joins two commands together?
|
#7
|
||||
|
||||
We have had some situations where servers are unable to find include files if we don't specify the redundant "./"
|
#8
|
||||
|
||||
oh, how weird, i never thought that mattered...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|