<?
if (is_object($configuration)) {
	$path = $configuration->getRootPath();
	$relativePath = $configuration->getWebRootRelativePath();
}
?>
<? $form = Loader::helper('form'); ?>
<div class="form-group">
    <label for="path"><?=t('Root Path')?></label>
    <div class="input-group">
        <?=$form->text('fslType[path]', $path)?>
        <span class="input-group-addon"><i class="fa fa-asterisk"></i></span>
    </div>
</div>
<div class="form-group">
    <label for="path"><?=t('Relative Path')?></label>
    <?=$form->text('fslType[relativePath]', $relativePath)?>
</div>
<?php
defined('C5_EXECUTE') or die('Access Denied');
if (is_object($configuration)) {
	$path = $configuration->getRootPath();
	$relativePath = $configuration->getWebRootRelativePath();
}
?>
<? $form = Loader::helper('form'); ?>
<div class="form-group">
    <label for="path"><?=t('Root Path')?></label>
    <div class="input-group">
        <?=$form->text('fslType[path]', $path)?>
        <span class="input-group-addon"><i class="fa fa-asterisk"></i></span>
    </div>
</div>
<div class="form-group">
    <label for="path"><?=t('Relative Path')?></label>
    <?=$form->text('fslType[relativePath]', $relativePath)?>
</div>

Add a c5_execute or die
Add a c5_execute or die

Former-commit-id: 1ab7033f04df48da857139fd1bbf7cf8788ddfb4