fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)fu ([staff profile] fu) wrote,
@ 2010-09-15 01:40 pm UTC
  • Previous Entry
  • Add to Memories
  • Tell someone about this!
  • Next Entry
There is an LJ::is_web_context() function.


(5 comments) - (Post a new comment)
(Flat) (Top-level comments only)

jeshyr: A flower with text "In life's name" (Young Wizard, Young Wizard - In Life's Name)


[personal profile] jeshyr
2010-09-15 10:51 am UTC (link)
Isn't it all the web?

(Reply to this)  (Thread


sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (skype, sophie, weemee)


[personal profile] sophie
2010-09-15 01:49 pm UTC (link)
It's to distinguish between whether a function is being used because it was triggered from the website, or because it was triggered from something like a cron script, as far as I know. :)

(Reply to this)  (Thread from start)  (Parent


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2010-09-16 12:30 pm UTC (link)
Not quite! We sometimes need to be able to run from the commandline, as in the case of tests, and when running workers such as for processing notifications (which do their stuff asynchronously/not tied to a particular request *g*).

(Reply to this)  (Thread from start)  (Parent


jazzfish: Jazz Fish: beret, sunglasses, saxophone (default, Jazz Fish)


[personal profile] jazzfish
2010-09-15 12:21 pm UTC (link)
... so LJ supports Gopher, then?

(Reply to this)  (Thread


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2010-09-16 01:30 pm UTC (link)
Hee! No, not quite! But some stuff needs to run on the commandline *g*

(Reply to this)  (Thread from start)  (Parent



(5 comments) - (Post a new comment)
(Flat) (Top-level comments only)