<?php
$module_dir = "ribbon";
$module_css_path = ($line_domain['theme'] != "" && $line_domain['theme'] != "default") ? ($path . ('assets/themes/' . $line_domain['theme'] . '/')) : $path;

if(file_exists($modules_path . "$module_dir/ribbon_init.php")) {
    include($modules_path . "$module_dir/ribbon_init.php");

    if(file_exists($modules_path . "$module_dir/ribbon_default.php")) {

        require(dirname(__FILE__) . "/ribbon_default.php");

    }
    else {
        echo $modules_path . "$module_dir/ribbon_default.php does not exist";
    }
}
else {
    echo $modules_path . "$module_dir/ribbon_init.php does not exist";
}

if(isset($module_params)) {
    unset($module_params);
}