The MU forums have moved to WordPress.org

What is sunrise.php? (5 posts)

  1. burtadsit
    Member
    Posted 15 years ago #

    I see this defined in wpmu code and hear about it every so often. What the heck is 'sunrise'?

  2. cafespain
    Member
    Posted 15 years ago #

  3. andrea_r
    Moderator
    Posted 15 years ago #

    It's a file to put code in that you want to run before everything else.

    For example, the domain mapping plugin makes use of it.

  4. burtadsit
    Member
    Posted 15 years ago #

    So it's not an actual product. It's kinda like if it exists it gets run. Similar to the way many packages look for 'custom.css'.

    Ok. This makes sense now.

    Google didn't know anything about this. What?! This must be some way cool, super secret thing that a select few know about and keep to themselves.

    My paranoia was showing. :)

  5. andrea_r
    Moderator
    Posted 15 years ago #

    Put that away. I see what you're doing.

    :D

About this Topic

  • Started 15 years ago by burtadsit
  • Latest reply from andrea_r