svn: /phd/trunk/ render.php

From: Date: Thu, 30 Jul 2009 17:10:36 +0000
Subject: svn: /phd/trunk/ render.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4575@lists.php.net to get a copy of this message
bjori Thu, 30 Jul 2009 17:10:36 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286565 Log: Remove useless variable and define Changed paths: U phd/trunk/render.php Modified: phd/trunk/render.php =================================================================== --- phd/trunk/render.php 2009-07-30 17:10:08 UTC (rev 286564) +++ phd/trunk/render.php 2009-07-30 17:10:36 UTC (rev 286565) @@ -2,7 +2,6 @@ namespace phpdotnet\phd; /* $Id$ */ -$ROOT = __DIR__; function autoload($name) { $file = str_replace(array('\\', '_'), '/', $name) . '.php'; @@ -18,8 +17,6 @@ $optparser = new BuildOptionsParser(); $optparser->getopt(); -define("NO_SQLITE", false); - /* If no docbook file was passed, die */ if (!is_dir(Config::xml_root()) || !is_file(Config::xml_file())) { trigger_error("No Docbook file given. Specify it on the command line with --docbook.", E_USER_ERROR); @@ -35,7 +32,7 @@ Config::init(array( "verbose" => VERBOSE_ALL^(VERBOSE_PARTIAL_CHILD_READING|VERBOSE_CHUNK_WRITING), - "lang_dir" => $ROOT . DIRECTORY_SEPARATOR . "phpdotnet" . DIRECTORY_SEPARATOR + "lang_dir" => __DIR__ . DIRECTORY_SEPARATOR . "phpdotnet" . DIRECTORY_SEPARATOR . "phd" . DIRECTORY_SEPARATOR . "data" . DIRECTORY_SEPARATOR . "langs" . DIRECTORY_SEPARATOR, "phpweb_version_filename" => Config::xml_root() . DIRECTORY_SEPARATOR . 'version.xml',

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