Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Php basics

Asked Modified Viewed 892 times
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
asked
Member

Just a quick question. I don't know a lot about php and I'm trying to learn. Not sure where I should post this question.

How did the php-fusion system know where to fine things that are require_one like "THEMES" "INCLUDES" "INFUSIONS", etc.

I understand where they point, but how does the system know that THEMES is in ..basdir/themes?

Thanks for any help.
0 replies

2 posts

F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

Defined in includes/core_constants_include.php
 
1 reply
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

It is generated automatically depending on which infusions you have installed. Each installed infusion has its own *_EXISTS constant. E.g. SHOUTBOX_PANEL_EXISTS, BLOG_EXISTS, NEWS_EXISTS..
if (defined('BLOG_EXISTS')) {
// Content is only visible if Blog is installed.
}

We do not recommend editing core files, especially if you do not know PHP. In next update, forum will have a completely new design.
1 reply

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

F
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
C
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet