cvs: phpdoc / configure.php

From: Date: Wed, 23 Jan 2008 19:14:55 +0000
Subject: cvs: phpdoc / configure.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1061@lists.php.net to get a copy of this message
bjori Wed Jan 23 19:14:55 2008 UTC Modified files: /phpdoc configure.php Log: Fix --with-lang http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/configure.php diff -u phpdoc/configure.php:1.19 phpdoc/configure.php:1.20 --- phpdoc/configure.php:1.19 Mon Jan 21 21:04:39 2008 +++ phpdoc/configure.php Wed Jan 23 19:14:55 2008 @@ -17,13 +17,13 @@ | Authors: Dave Barr <dave@php.net> | +----------------------------------------------------------------------+ - $Id: configure.php,v 1.19 2008/01/21 21:04:39 felipe Exp $ + $Id: configure.php,v 1.20 2008/01/23 19:14:55 bjori Exp $ */ error_reporting(E_ALL); $srcdir = "."; -$cvs_id = '$Id: configure.php,v 1.19 2008/01/21 21:04:39 felipe Exp $'; +$cvs_id = '$Id: configure.php,v 1.20 2008/01/23 19:14:55 bjori Exp $'; echo "configure.php: $cvs_id\n"; @@ -288,10 +288,11 @@ checkvalue($ac['LANG']); checking("whether the language is supported"); -$ac['LANGDIR'] = "{$ac['srcdir']}/{$ac['LANG']}"; -if (!file_exists($ac['LANGDIR']) || !is_readable($ac['LANGDIR'])) +$LANGDIR = "{$ac['srcdir']}/{$ac['LANG']}"; +if (!file_exists($LANGDIR) || !is_readable($LANGDIR)) checkerror("No language directory found."); -$ac['LANGDIR'] = 'en'; + +$ac['LANGDIR'] = basename($LANGDIR); checkvalue("yes"); checking("for partial build");

« previous php.doc.cvs (#1061) next »