Bug #4

Smarty include path error

Added by nathan 513 days ago. Updated 481 days ago.

Status:Closed Start:03/04/2009
Priority:Normal Due date:
Assigned to:nathan % Done:

100%

Category:- Spent time: -
Target version:0.5.2 Estimated time:0.50 hours

Description

The Smarty include path is hard-coded into include/smarty.php in a distribution-specific nature.

/usr/local/lib/php/Smarty/Smarty.class.php
is specific to RH/FC/CentOS. On my OpenSuSE 10.2 box, it's
/usr/share/php5/Smarty/Smarty.class.php.

As long as the Smarty/ directory is within PHP_INCLUDE_PATH, the require() statement should just be:
require('Smarty/Smarty.class.php');

Associated revisions

Revision 13
Added by nathan 481 days ago

fixes #4

History

Updated by nathan 508 days ago

  • Due date deleted (03/06/2009)

Updated by nathan 481 days ago

  • Status changed from New to Assigned

Updated by nathan 481 days ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r13.

Updated by nathan 481 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF