RSS   Twitter   Copiny   Copiny
Нашел ошибку? 

Выдели фрагмент текста с ошибкой или неточностью и нажми Ctrl+Enter!

Базовые константы

Базовые константы Joomla framework, которые используются практически во всех расширениях Joomla:

Имя Описание Значение (по умолчанию)
DS разделитель директорий
«/" (то же что и DIRECTORY_SEPARATOR)
JPATH_ADMINISTRATOR к панели управления
«/joomla15/administrator»
JPATH_BASE к корневому каталогу
«/joomla15»
JPATH_CACHE к каталогу с кешем
«/joomla15/cache»
JPATH_COMPONENT к текущему front-end компонента
«/joomla15/components/com_example»
JPATH_COMPONENT_ADMINISTRATOR к текущему back-end компонента
«/joomla15/administrator/components/com_example»
JPATH_CONFIGURATION место конфигурационного файла «/joomla15»
JPATH_INSTALLATION путь к инсталятору
«/joomla15/installation»
JPATH_LIBRARIES путь к внешним библиотекам
«/joomla15/libraries»
JPATH_PLUGINS путь к плагинам
«/joomla15/plugins»
JPATH_ROOT путь front-end
«/joomla15»
JPATH_THEMES путь к шаблонам
«/joomla15/templates»
JPATH_XMLRPC директория для XML-RPC
«/joomla15/xmlrpc» (только для 1.5)

* допустим установка была сделана в каталог /joomla15

И обязательно скажем пару слов о константе, которая отвечает за сохранность структуры при подключении файлов. Выглядит это примерно так, как показано ниже. Рекомендуем и Вам вставлять подобный фрагмент кода в начале каждого исполняемого файла.

defined('_JEXEC') or die('Restricted access');

Эти константы определены в файле /includes/defines.php, кроме JPATH_BASE который определяется в /index.php. Стоит заметить, что они не предназначены для использования в URL адресах. Для этих случаев лучше использовать функцию JURI:base().

Смотрите также:
Комментарии (58) Добавить комментарий
  • Beagler
    Beagler
    11 Сентября 2013, 13:31
     ↑  +8  ↓     ответ

    ошибочка - JURI:base()

    правильно - JURI::base()

  • werwerwer
    werwerwer
    07 Июня 2016, 21:33
     ↑  0  ↓     ответ

    32452352345

  • push up bra dd
    push up bra dd
    02 Июня 2017, 10:50
     ↑  0  ↓     ответ

    If you are going for best contents like me, just go to see this site every day as it offers feature contents, thanks

  • виза словакия шенген
    виза словакия шенген
    26 Июля 2017, 22:12
     ↑  0  ↓     ответ

    виза словакия шенген

  • ??? ??? ????? 97
    ??? ??? ????? 97
    17 Октября 2017, 21:03
     ↑  0  ↓     ответ

    I do not even know how I ended up here, but I thought this post was good.

    I do not know who you are but certainly you are going to a famous blogger if

    you are not already ;) Cheers!

  • minecraft
    minecraft
    23 Марта 2019, 22:50
     ↑  0  ↓     ответ

    Its like you read my mind! You appear to know so much about this, like you wrote the book in it or

    something. I think that you could do with a few pics to drive the message home a little

    bit, but other than that, this is magnificent blog.

    A fantastic read. I'll definitely be back.

  • minecraft
    minecraft
    25 Марта 2019, 18:26
     ↑  0  ↓     ответ

    A motivating discussion is definitely worth comment.

    There's no doubt that that you need to publish more on this subject,

    it may not be a taboo matter but generally people

    don't discuss such topics. To the next! Best wishes!!

  • minecraft
    minecraft
    28 Марта 2019, 23:28
     ↑  0  ↓     ответ

    Thanks for finally writing about >Константы Joomla, пути

    директорий, адреса директорий,

    базовые константы Джумлы, значение констант

    по умолчанию, / Общие понятия .:

    . Документация Joomla! CMS <Loved it!

  • http://tinyurl.com/y6entb9l
    http://tinyurl.com/y6entb9l
    26 Апреля 2019, 23:13
     ↑  0  ↓     ответ

    Hi there very nice website!! Man .. Excellent .. Amazing ..

    I will bookmark your website and take the feeds additionally?

    I am happy to search out so many helpful information right here within the publish, we

    need work out more techniques in this regard, thanks for sharing.

    . . . . .

  • minecraft
    minecraft
    28 Апреля 2019, 18:03
     ↑  0  ↓     ответ

    Hmm it appears like your blog ate my first comment (it

    was extremely long) so I guess I'll just sum it up what I submitted and say,

    I'm thoroughly enjoying your blog. I too am an aspiring blog

    blogger but I'm still new to the whole thing. Do you have any suggestions for rookie blog

    writers? I'd genuinely appreciate it.

  • minecraft
    minecraft
    29 Апреля 2019, 22:17
     ↑  0  ↓     ответ

    When I originally commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I

    get three emails with the same comment. Is there any way you can remove people

    from that service? Thank you!

  • how to get help in windows 10
    how to get help in windows 10
    24 Мая 2019, 17:22
     ↑  0  ↓     ответ

    You actually make it appear really easy together with your presentation however I find this matter to be actually

    one thing that I believe I might by no means understand.

    It sort of feels too complex and extremely broad for

    me. I am taking a look ahead to your next publish, I'll try

    to get the grasp of it!

  • plenty of fish dating site
    plenty of fish dating site
    12 Ноября 2019, 08:45
     ↑  0  ↓     ответ

    Howdy! This post could not be written any

    better! Reading through this post reminds me of my old room mate!

    He always kept talking about this. I will forward this post to him.

    Fairly certain he will have a good read. Thanks for sharing!

  • coconut oil when
    coconut oil when
    16 Ноября 2019, 11:12
     ↑  0  ↓     ответ

    Nice post. I learn something totally new and challenging

    on sites I stumbleupon every day. It will always be exciting to read content from other writers and

    use a little something from their web sites.

  • tinyurl.com
    tinyurl.com
    20 Ноября 2019, 19:57
     ↑  0  ↓     ответ

    Hi there, I want to subscribe for this blog to get latest updates,

    so where can i do it please help.

  • http://tinyurl.com/t4qw5f7
    http://tinyurl.com/t4qw5f7
    22 Ноября 2019, 01:53
     ↑  0  ↓     ответ

    Heya i am for the first time here. I came across this board and I find It truly useful &

    it helped me out a lot. I hope to give something back and

    help others like you helped me.

  • the coconut oil
    the coconut oil
    25 Ноября 2019, 19:13
     ↑  0  ↓     ответ

    Somebody necessarily lend a hand to make seriously articles I might state.

    This is the first time I frequented your web

    page and up to now? I amazed with the analysis you made to make this actual put up extraordinary.

    Magnificent job!

  • plenty of fish dating site
    plenty of fish dating site
    26 Ноября 2019, 16:56
     ↑  0  ↓     ответ

    you're in reality a just right webmaster. The web site loading

    pace is incredible. It seems that you are doing any distinctive trick.

    In addition, The contents are masterpiece.

    you have done a wonderful job in this matter!

  • ps4 games
    ps4 games
    28 Ноября 2019, 19:52
     ↑  0  ↓     ответ

    We absolutely love your blog and find the majority

    of your post's to be what precisely I'm looking for.

    Do you offer guest writers to write content to suit your

    needs? I wouldn't mind creating a post or elaborating on many of the subjects you write

    related to here. Again, awesome weblog!

  • quest bars cheap
    quest bars cheap
    01 Декабря 2019, 19:11
     ↑  0  ↓     ответ

    Magnificent items from you, man. I've take into accout your stuff prior to and you are simply too fantastic.

    I really like what you've received right here, certainly like

    what you are stating and the best way wherein you are saying it.

    You are making it entertaining and you continue to care for to

    keep it sensible. I can not wait to read far more from you.

    This is actually a tremendous web site.

  • quest bars cheap coupon twitter
    quest bars cheap coupon twitter
    03 Декабря 2019, 04:09
     ↑  0  ↓     ответ

    Hi! Would you mind if I share your blog with my twitter group?

    There's a lot of folks that I think would really enjoy your content.

    Please let me know. Many thanks

  • quest bars cheap coupon twitter
    quest bars cheap coupon twitter
    04 Декабря 2019, 03:40
     ↑  0  ↓     ответ

    Greetings from Carolina! I'm bored to death at work so I decided to browse your website on my iphone during

    lunch break. I love the info you present here and can't wait to take a look when I get home.

    I'm shocked at how fast your blog loaded on my mobile ..

    I'm not even using WIFI, just 3G .. Anyhow, excellent site!

  • quest bars cheap
    quest bars cheap
    04 Декабря 2019, 07:25
     ↑  0  ↓     ответ

    Heya! I'm at work surfing around your blog from my new iphone 3gs!

    Just wanted to say I love reading your blog and look

    forward to all your posts! Carry on the great work!

  • ps4 games
    ps4 games
    05 Декабря 2019, 13:35
     ↑  0  ↓     ответ

    I'm impressed, I must say. Rarely do I come across a blog that's equally educative and amusing, and let me tell

    you, you have hit the nail on the head. The issue is an issue that not enough people are speaking intelligently

    about. I am very happy that I found this during my search for something regarding this.

  • quest bars cheap
    quest bars cheap
    07 Декабря 2019, 16:40
     ↑  0  ↓     ответ

    I'm curious to find out what blog system you have been working with?

    I'm experiencing some small security issues with

    my latest website and I'd like to find something more risk-free.

    Do you have any solutions?

  • quest bars cheap
    quest bars cheap
    09 Декабря 2019, 17:40
     ↑  0  ↓     ответ

    I used to be able to find good advice from your content.

  • quest bars cheap
    quest bars cheap
    10 Декабря 2019, 02:15
     ↑  0  ↓     ответ

    I've been surfing online greater than three hours nowadays,

    yet I never found any interesting article like yours.

    It is pretty value enough for me. Personally, if all

    web owners and bloggers made just right content material

    as you probably did, the internet might be a lot more useful than ever before.

  • ps4 games
    ps4 games
    11 Декабря 2019, 04:25
     ↑  0  ↓     ответ

    You ought to be a part of a contest for one of the best sites on the net.

    I am going to highly recommend this blog!

  • ps4 games
    ps4 games
    11 Декабря 2019, 23:26
     ↑  0  ↓     ответ

    Hi i am kavin, its my first time to commenting anyplace, when i read this paragraph i thought i could also make comment due to this good post.

  • ps4 games
    ps4 games
    13 Декабря 2019, 08:57
     ↑  0  ↓     ответ

    What i do not understood is actually how you are now not

    really a lot more neatly-preferred than you may be now.

    You're very intelligent. You recognize therefore significantly on the subject of this

    subject, made me in my view imagine it from a

    lot of various angles. Its like women and men are not fascinated unless it is something to accomplish with Girl gaga!

    Your personal stuffs outstanding. All the time take care of it up!

  • coconut oil
    coconut oil
    16 Декабря 2019, 06:18
     ↑  0  ↓     ответ

    Excellent way of explaining, and nice article to get information on the topic of my presentation topic,

    which i am going to convey in college.

  • coconut oil
    coconut oil
    16 Декабря 2019, 16:53
     ↑  0  ↓     ответ

    I constantly spent my half an hour to read this weblog's articles

    or reviews all the time along with a mug of coffee.

  • coconut oil
    coconut oil
    18 Декабря 2019, 02:38
     ↑  0  ↓     ответ

    Heya i am for the first time here. I found this board and I to find It really helpful & it helped

    me out much. I am hoping to provide one thing again and aid others like you aided me.

  • coconut oil
    coconut oil
    20 Декабря 2019, 09:28
     ↑  0  ↓     ответ

    Admiring the time and effort you put into your blog and in depth information you offer.

    It's great to come across a blog every once in a while

    that isn't the same outdated rehashed information. Wonderful read!

    I've bookmarked your site and I'm including your RSS feeds to

    my Google account.

  • match.com free trial
    match.com free trial
    30 Декабря 2019, 04:02
     ↑  0  ↓     ответ

    Highly descriptive post, I enjoyed that a lot. Will there be a part

    2?

  • match.com free trial
    match.com free trial
    31 Декабря 2019, 08:32
     ↑  0  ↓     ответ

    hello there and thank you for your information – I have definitely picked up

    something new from right here. I did however expertise some technical issues

    using this web site, as I experienced to reload the website many times previous to

    I could get it to load correctly. I had been wondering

    if your web host is OK? Not that I am complaining, but sluggish loading

    instances times will sometimes affect your placement

    in google and could damage your quality score if ads and

    marketing with Adwords. Well I'm adding this RSS to my e-mail

    and can look out for much more of your respective intriguing content.

    Ensure that you update this again very soon.

  • https://asksylphoflight.tumblr.com
    https://asksylphoflight.tumblr.com
    31 Декабря 2019, 19:26
     ↑  0  ↓     ответ

    Hi! I simply would like to give you a huge thumbs up for

    your great info you have right here on this post. I am coming back to your website for more soon.

  • match.com free trial
    match.com free trial
    01 Января 2020, 04:50
     ↑  0  ↓     ответ

    Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically

    tweet my newest twitter updates. I've been looking for a plug-in like

    this for quite some time and was hoping maybe you would have

    some experience with something like this. Please let me know if you run into anything.

    I truly enjoy reading your blog and I look forward to your new

    updates.

  • sling tv
    sling tv
    01 Января 2020, 05:47
     ↑  0  ↓     ответ

    What i do not realize is in fact how you are no longer really

    much more smartly-favored than you may be right now.

    You are very intelligent. You understand therefore considerably in relation to this topic, made me for my

    part believe it from numerous varied angles. Its

    like women and men don't seem to be involved until it's one

    thing to accomplish with Girl gaga! Your individual stuffs

    nice. All the time deal with it up!

  • http://tinyurl.com/sling-tv-65153
    http://tinyurl.com/sling-tv-65153
    02 Января 2020, 20:53
     ↑  0  ↓     ответ

    Way cool! Some extremely valid points! I appreciate you

    penning this article plus the rest of the website is very good.

  • sling tv
    sling tv
    03 Января 2020, 11:21
     ↑  0  ↓     ответ

    If some one wishes to be updated with latest technologies then he must be visit this

    web site and be up to date daily.

  • sling tv https://asksylphoflight.tumblr.com/
    sling tv https://asksylphoflight.tumblr.com/
    05 Января 2020, 06:25
     ↑  0  ↓     ответ

    Very nice post. I just stumbled upon your weblog and wished to mention that I've really enjoyed browsing your blog posts.

    After all I'll be subscribing on your rss feed and I am hoping you

    write again soon!

  • sling tv
    sling tv
    07 Января 2020, 19:58
     ↑  0  ↓     ответ

    It's awesome in favor of me to have a site, which

    is beneficial in favor of my knowledge. thanks admin

  • sling tv
    sling tv
    08 Января 2020, 03:33
     ↑  0  ↓     ответ

    I was curious if you ever thought of changing

    the page layout of your blog? Its very well written; I love what

    youve got to say. But maybe you could a little more in the way of content

    so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 pictures.

    Maybe you could space it out better?

  • sling tv
    sling tv
    14 Января 2020, 08:47
     ↑  0  ↓     ответ

    Good information. Lucky me I found your site by accident (stumbleupon).

    I have bookmarked it for later!

  • sling tv
    sling tv
    14 Января 2020, 20:27
     ↑  0  ↓     ответ

    I have been browsing online more than 4 hours today,

    yet I never found any interesting article like yours.

    It is pretty worth enough for me. Personally, if all website owners and bloggers made good content as you did, the net will be a lot more

    useful than ever before.

  • sling tv
    sling tv
    15 Января 2020, 16:20
     ↑  0  ↓     ответ

    Hey! Do you know if they make any plugins

    to protect against hackers? I'm kinda paranoid about losing everything I've

    worked hard on. Any recommendations?

  • sling tv
    sling tv
    17 Января 2020, 11:41
     ↑  0  ↓     ответ

    I got this site from my friend who told me on the topic of

    this web page and at the moment this time I am visiting this website and reading very informative articles here.

  • sling tv
    sling tv
    18 Января 2020, 18:04
     ↑  0  ↓     ответ

    Remarkable issues here. I am very glad to see your post. Thanks a lot and I am looking forward to touch you.

    Will you kindly drop me a e-mail?

  • sling tv
    sling tv
    19 Января 2020, 11:47
     ↑  0  ↓     ответ

    Keep this going please, great job!

  • sling tv best package 2020
    sling tv best package 2020
    24 Января 2020, 14:45
     ↑  0  ↓     ответ

    hey there and thank you for your info – I have certainly picked up something

    new from right here. I did however expertise some technical issues using

    this site, as I experienced to reload the web site many times previous to I could get it to load

    properly. I had been wondering if your hosting is OK?

    Not that I'm complaining, but slow loading instances times will

    often affect your placement in google and could damage your quality score if ads and

    marketing with Adwords. Anyway I am adding this RSS to my email and could look out for a lot more of

    your respective fascinating content. Make sure you update this again very soon.

  • sling tv
    sling tv
    29 Января 2020, 10:45
     ↑  0  ↓     ответ

    Terrific article! That is the kind of info that should be shared around the web.

    Disgrace on the search engines for now not positioning this publish upper!

    Come on over and seek advice from my web site . Thanks

    =)

  • cbd oil that works 2020
    cbd oil that works 2020
    04 Апреля 2020, 18:55
     ↑  0  ↓     ответ

    Your means of explaining everything in this paragraph is genuinely fastidious, every one be capable of

    simply understand it, Thanks a lot.

  • cbd oil that works 2020
    cbd oil that works 2020
    04 Апреля 2020, 19:37
     ↑  0  ↓     ответ

    Have you ever considered writing an e-book or guest authoring on other blogs?

    I have a blog centered on the same subjects you discuss and would really like to have you share some stories/information. I know my subscribers would appreciate your work.

    If you're even remotely interested, feel free to send me an e mail.

  • g
    g
    16 Июня 2020, 02:32
     ↑  0  ↓     ответ

    Wonderful beat ! I wish to apprentice while you

    amend your site, how could i subscribe for a blog site?

    The account aided me a acceptable deal. I had been a little

    bit acquainted of this your broadcast offered bright clear

    concept

  • g
    g
    16 Июня 2020, 16:32
     ↑  0  ↓     ответ

    Hi to all, the contents existing at this web site are genuinely remarkable for

    people knowledge, well, keep up the nice work fellows.

  • g
    g
    17 Июня 2020, 08:38
     ↑  0  ↓     ответ

    I am regular reader, how are you everybody? This piece of writing posted at this site

    is genuinely pleasant.

  • g
    g
    17 Июня 2020, 20:13
     ↑  0  ↓     ответ

    I have been browsing online more than 4 hours today,

    yet I never found any interesting article like yours.

    It is pretty worth enough for me. In my view, if

    all web owners and bloggers made good content as you did, the internet will be a lot more useful than ever

    before.

Оставить комментарий




* обязательно для заполнения

1 введенный почтовый адрес используется только для обратной связи при ответах в комментариях и сервиса gravatar.com
.