We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Addons, Docs

Perch 2.5 apps.php format

When adding the events app to Post-Perch 2.5. docs say to add 'perch_events' to the array in the perch/config/apps.php file to complete the installation like this.

<?php
            $apps_list = array(
                 'content',
             );

However, my (Perch version 2.5.3) apps.php file still uses

<?php
              include(PERCH_PATH.'/core/apps/content/runtime.php');

I assume that just adding it pre 2.5 style is fine?

<?php
    include(PERCH_PATH.'/core/apps/content/runtime.php');
    include(PERCH_PATH.'/core/apps/perch_events/runtime.php');
?>
Andy Clark

Andy Clark 0 points

  • 5 years ago

Core is 5.2.3 but the apps folder is from a pre-5.2 release, and yes it does work.

Drew McLellan

Drew McLellan 2638 points
Perch Support