Req #19311 [Com]: JavascriptBuilder->setDefaultAbsPath()

From: Date: Thu, 01 Mar 2012 15:43:29 +0000
Subject: Req #19311 [Com]: JavascriptBuilder->setDefaultAbsPath()
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8336@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19311&edit=1 ID: 19311 Comment by: sergiokessler@gmail.com Reported By: sergiokessler at gmail dot com Summary: JavascriptBuilder->setDefaultAbsPath() Status: Open Type: Feature/Change Request Package: HTML_QuickForm2 Package Version: 0.6.1 PHP Version: 5.3.4 Roadmap Versions: New Comment: I "fixed" it like if (null === $defaultAbsPath) { $defaultAbsPath = __DIR__ . '/../../data' . DIRECTORY_SEPARATOR . 'HTML_QuickForm2' . DIRECTORY_SEPARATOR . 'js' . DIRECTORY_SEPARATOR; I tried if (null === $defaultAbsPath) { $defaultAbsPath = '@data_dir@' . ... but it didn't work... Previous Comments: ------------------------------------------------------------------------ [2012-03-01 15:28:54] sak Description: ------------ please, provide a HTML_QuickForm2_JavascriptBuilder->setDefaultAbsPath() I have my pear components in myproject/share/pear and do a set_include_path('.:share/pear'); I use system's pear just to install and copy the components I use to myproject/share/pear and without setDefaultAbsPath() I get error HTML_QuickForm2_NotFoundException: File 'quickform.js' for JS library 'base' not found ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19311&edit=1

« previous php.pear.bugs (#8336) next »