Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
From #1318374: Refactor code layout of classes using autoloader omega8cc:
There are major bugs introduced in the SSL templates, where you still have old, no longer existing paths like include('http/apache/vhost.tpl.php');
Comments
Comment #1
Steven Jones CreditAttribution: Steven Jones commentedThanks for testing!
Because of the new autoloader I wonder if we need some sort of helper function to get the location of a where a particular class is defined so we can change:
include('http/apache/server.tpl.php');
into:
include(class_directory('Provision_Config_Apache_Server') . '/server.tpl.php');
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedI've popped a fix into 6.x-2.x, lets see what Jenkins thinks, and will need manual testing too.
Comment #3
omega8cc CreditAttribution: omega8cc commentedI have tried to review this, but failed early with #1333710: Autoloader doesn't work in PHP 5.2.
Comment #4
omega8cc CreditAttribution: omega8cc commentedTested with Nginx and it works fine. Thanks!
Comment #5
Steven Jones CreditAttribution: Steven Jones commented