New 'libraries' folder in root instalation directory
This commit is contained in:
parent
05b6a91b0c
commit
006992b900
2267 changed files with 50 additions and 65 deletions
|
@ -22,7 +22,7 @@ August 13, 2010
|
|||
Updated Hungarian translation.
|
||||
August 12, 2010
|
||||
Fix #880954: Enable translation of 'send page as' options
|
||||
Fix #880400: document alternative sites/all/libraries path in INSTALL.txt
|
||||
Fix #880400: document alternative libraries path in INSTALL.txt
|
||||
August 11, 2010
|
||||
SA-CONTRIB-2010-TBD: disable local file access with wkhtmltopdf
|
||||
Update CHANGELOG
|
||||
|
@ -115,7 +115,7 @@ October 7, 2009
|
|||
Fix #578990: enable tokens in the wkhtmltopdf options string
|
||||
October 3, 2009
|
||||
Fix #582360: don't complain about missing e-mail addresses when there's a blank line at the end
|
||||
Fix #582104: look for PDF libraries in sites/all/libraries
|
||||
Fix #582104: look for PDF libraries in libraries folder
|
||||
Fix #572848 by aether: Use theme_username() for print_mail_form defaults
|
||||
Fix #566138: add setting to close the window when both the new window and send to printer are enabled
|
||||
September 12, 2009
|
||||
|
|
|
@ -19,7 +19,7 @@ issue queue at Drupal.org.
|
|||
|
||||
supported paths:
|
||||
* print module lib directory (usually sites/all/modules/print/lib)
|
||||
* libraries directory (sites/all/libraries)
|
||||
* libraries directory (libraries)
|
||||
|
||||
dompdf support:
|
||||
The dompdf tool produces results that are more faithful to the HTML
|
||||
|
@ -37,7 +37,7 @@ dompdf support:
|
|||
5. If you're using dompdf-0.5.1, delete the dompdf.php file as it contains
|
||||
a security vulnerability
|
||||
6. If you're using dompdf-0.6 or later, you can try to enable the Unicode
|
||||
support, but you'll need to add some Unicode fonts. See
|
||||
support, but you'll need to add some Unicode fonts. See
|
||||
http://groups.google.com/group/dompdf/browse_thread/thread/9f7bc0162b04d5cf
|
||||
for further info on this.
|
||||
7. Check http://code.google.com/p/dompdf/ for further information.
|
||||
|
@ -64,7 +64,7 @@ wkhtmltopdf support:
|
|||
which doesn't require you to compile anything. Note that the compiled
|
||||
version may require a running X server (static uses patched libs that can
|
||||
work without one).
|
||||
2. Place the wkhtmltopdf executable into one of the supported paths.
|
||||
2. Place the wkhtmltopdf executable into one of the supported paths.
|
||||
(usually sites/all/modules/print/lib). You can also place a symbolic link
|
||||
to the executable.
|
||||
3. Check http://code.google.com/p/wkhtmltopdf/ for further information.
|
||||
|
@ -94,4 +94,3 @@ Disallow: /*/print$
|
|||
Note that pattern matching in robots.txt is a Google extension (see
|
||||
http://www.google.com/support/webmasters/bin/answer.py?answer=40367 for more
|
||||
information).
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
Instead of placing the downloaded external libs (such as TCPDF, dompdf,
|
||||
etc.) used by the print module here, you should place them in
|
||||
sites/all/libraries.
|
||||
etc.) used by the print module here, you should place them in libraries.
|
||||
|
||||
This directory is still a valid location for them, however. The Libraries
|
||||
API module library path is also valid.
|
||||
|
|
|
@ -34,7 +34,7 @@ function print_pdf_drush_command() {
|
|||
'library' => dt('The PDF library to download. Either tcpdf, dompdf or wkhtmltopdf.'),
|
||||
),
|
||||
'options' => array(
|
||||
'path' => dt('A path to the download folder. If omitted Drush will use the default location (@path).', array('@path' => 'sites/all/libraries')),
|
||||
'path' => dt('A path to the download folder. If omitted Drush will use the default location (@path).', array('@path' => 'libraries')),
|
||||
),
|
||||
'aliases' => array('pdfdl'),
|
||||
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_ROOT, // No site or config needed.
|
||||
|
@ -52,7 +52,7 @@ function drush_print_pdf_download($library) {
|
|||
if ($download_url) {
|
||||
$path = drush_get_option('path');
|
||||
if (empty($path)) {
|
||||
$path = drush_get_context('DRUSH_DRUPAL_ROOT') . '/sites/all/libraries';
|
||||
$path = drush_get_context('DRUSH_DRUPAL_ROOT') . '/libraries';
|
||||
}
|
||||
|
||||
// Create the path if it does not exist.
|
||||
|
|
|
@ -11,7 +11,7 @@ define('PRINTPDF_PATH', 'printpdf');
|
|||
|
||||
define('PRINT_PDF_FORMAT', 'pdf');
|
||||
|
||||
define('PRINT_PDF_LIB_PATH', 'sites/all/libraries');
|
||||
define('PRINT_PDF_LIB_PATH', 'libraries');
|
||||
|
||||
define('PRINT_PDF_LINK_POS_DEFAULT', serialize(array('link' => 'link', 'block' => 'block', 'help' => 'help')));
|
||||
define('PRINT_PDF_LINK_TEASER_DEFAULT', 0);
|
||||
|
|
Reference in a new issue