<?php

if (file_exists(__DIR__ . '../vendor/autoload.php')) {
    require_once __DIR__ . '../vendor/autoload.php';
}

Object::add_extension('ContentController', 'HashPathExtension');

<?php

if (file_exists(__DIR__ . '../vendor/autoload.php')) {
    require_once __DIR__ . '../vendor/autoload.php';
}

if (class_exists('ContentController')) {
    Object::add_extension('ContentController', 'HashPathExtension');
}

Fix issue where content controller is not defined
BUGFIX: Fix issue where content controller is not defined
