Beispiel #1
0
                    }
                }
            }
        }
        return $output;
    }
    /**
     * Add ending slash to url or path
     *
     * @return string input with ending slash
     */
    function add_ending_slash($path_value)
    {
        if (substr($path_value, -1) != '/') {
            $path_value = $path_value . '/';
        }
        return $path_value;
    }
}
// define the new constants since PHP version 5.3.0 for older PHP installations
if (version_compare(PHP_VERSION, '5.3.0', '<') === true) {
    define('E_DEPRECATED', 8192);
    define('E_USER_DEPRECATED', 16384);
}
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
if (ini_get('magic_quotes_runtime') === FALSE || ini_get('magic_quotes_runtime') != 0) {
    ini_set('magic_quotes_runtime', 0);
}
$con_setup = new setup();
$data = $con_setup->make_setup();
echo $data;