ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How do I access the webmaster_email global var using php?

June 26, 2007 5:59am

Subscribe [2]
  • #1 / Jun 26, 2007 5:59am

    AussieFreelancer

    72 posts

    Well, as the title suggests, just a simple question this time :D What is the syntax to use to access the {webmaster_email} variable using php?

    Thanks

    Patrick

  • #2 / Jun 26, 2007 11:00am

    silenz

    1651 posts

    <?php
    global $PREFS;
    $email = $PREFS->ini('webmaster_email');
    ?>
  • #3 / Jun 26, 2007 12:17pm

    AussieFreelancer

    72 posts

    ooh cool thanks :D

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases