I made a folder in the root called phpagebuilder and put the core files there, I also placed the boilerplate files in the root, I moved the config.php file to the root and set the database creds, ran the commands to create the tables, ran composer require hansschouten/phpagebuilder in the root folder, index.php says
`<?php
// Uncomment to disable error reporting
ini_set('display_errors', 1);
error_reporting(E_ALL);
// Uncomment when using composer
require_once DIR . '/vendor/autoload.php';
// Uncomment if you downloaded PHPagebuilder
//require_once DIR . '/phpagebuilder/src/Core/helpers.php';
//spl_autoload_register('phpb_autoload');
$config = require DIR . '/config.php';
$builder = new PHPageBuilder\PHPageBuilder($config);
$builder->handleRequest();
?>`
in the config.php file I also removed 'assets_url' => '/assets', and replaced it with 'assets_url' => '/vendor/hansschouten/phpagebuilder/dist',
I made a folder in the root called phpagebuilder and put the core files there, I also placed the boilerplate files in the root, I moved the config.php file to the root and set the database creds, ran the commands to create the tables, ran composer require hansschouten/phpagebuilder in the root folder, index.php says
`<?php // Uncomment to disable error reporting ini_set('display_errors', 1); error_reporting(E_ALL);
// Uncomment when using composer require_once DIR . '/vendor/autoload.php';
// Uncomment if you downloaded PHPagebuilder //require_once DIR . '/phpagebuilder/src/Core/helpers.php'; //spl_autoload_register('phpb_autoload');
$config = require DIR . '/config.php';
$builder = new PHPageBuilder\PHPageBuilder($config); $builder->handleRequest();
?>`
in the config.php file I also removed 'assets_url' => '/assets', and replaced it with 'assets_url' => '/vendor/hansschouten/phpagebuilder/dist',
Any help at all is greatly appreciated