Jump to content

Archived

This topic is now archived and is closed to further replies.

Guest askjames01

*SOLVED* include?

Recommended Posts

Guest askjames01
along the way i notice this include

[code]
include("skins/$mg2->activeskin/settings.php");
[/code]

I know this --> "$mg2->activeskin/settings.php"
is the execution of class object, but to tell you guys this is my first time to
see an include like this.

So can you guess this and elaborate the execution in details?
what this include really do?

Share this post


Link to post
Share on other sites

[code]
include("skins/'.$mg2.'->activeskin/settings.php");
[/code]

Does the one you showed actually work? I would change the file name because its abit of a pain in the bum!

Share this post


Link to post
Share on other sites
its just getting the name of the active skin which corresponds with the name of a directory, nothing special.

Share this post


Link to post
Share on other sites
Guest askjames01
I just want to be sure.
I knew it.

I must carefully review it again...
and that thing really works...

thanks

Share this post


Link to post
Share on other sites
Guest askjames01
"$mg2->activeskin/settings.php"

so $mg2 is a Class Object.
and activeskin is a function? am i right?
and settings.php is a file where the right configuration of the skin is stored?

are all my thoughts are correct?

any opinion please?

Share this post


Link to post
Share on other sites
[!--quoteo(post=369819:date=Apr 29 2006, 07:14 AM:name=askjames01)--][div class=\'quotetop\']QUOTE(askjames01 @ Apr 29 2006, 07:14 AM) [snapback]369819[/snapback][/div][div class=\'quotemain\'][!--quotec--]
"$mg2->activeskin/settings.php"

so $mg2 is a Class Object.
and activeskin is a function? am i right?
and settings.php is a file where the right configuration of the skin is stored?

are all my thoughts are correct?

any opinion please?
[/quote]
Yes your thoughts are right but:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]and activeskin is a function? am i right?[/quote]
is a little wrong as its a variable not a function

Share this post


Link to post
Share on other sites
Guest askjames01
i'll verify that again...
thank you wildteen.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.