|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47419 Add support for external theme
Submitted: 2009-02-17 10:36 UTC Modified: 2009-09-04 15:42 UTC
From: pear at laurent-laville dot org Assigned:
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: pear at laurent-laville dot org
New email:
PHP Version: OS:


 [2009-02-17 10:36 UTC] pear at laurent-laville dot org
Because I wanted to build my own CHM version of a partial PEAR Manual rendering, my first try was to run PhD with only the switch 

-t mypearchm

To realize just after that, even if class is available in phd/themes/pear directory

File  mypearchm.php
Class mypearchm extends pearchunkedhtml

It won't run because themes list are hard-coded into phpd/config.php

Reproduce code:
phd -f xhtml -t mypearchm -o build/tmp -d .manual.xml

Actual result:
[11:23:40 - E_USER_ERROR] C:\wamp\bin\php\php5.2.8\PEAR\phd\config.php:478
        Unknown theme 'mypearchm'


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Mar 02 14:01:34 2024 UTC