[glotpress-updates] [GlotPress] #201: GlotPress files should always be included as absolute paths

GlotPress glotpress-updates at lists.automattic.com
Mon May 21 21:06:59 UTC 2012


#201: GlotPress files should always be included as absolute paths
----------------------+----------------------
 Reporter:  mdawaffe  |      Owner:  somebody
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  general   |    Version:
 Keywords:            |
----------------------+----------------------
 Things like the following can make it difficult to create command line
 scripts with GlotPress.

 {{{
 require_once 'makepot.php'
 }}}

 When including/requiring files, they should always be referenced by
 absolute path.

 {{{

 require_once dirname( __FILE__ ) . '/makepot.php'
 }}}

 Attached.

-- 
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/201>
GlotPress <http://trac.glotpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list