[Bug 1414216] Review Request: php-gettext-gettext - PHP gettext manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1414216



--- Comment #4 from Remi Collet <fedora@xxxxxxxxxxxxxxxxx> ---
Fixed example (for twig v1/v2) even, a fully rewritten one (not tested)

    <?php
    require_once '/usr/share/php/Fedora/Autoloader/autoload.php';

    \Fedora\Autoloader\Autoload::addPsr4('Gettext\\', __DIR__);

    \Fedora\Autoloader\Dependencies::required(array(
        '/usr/share/php/Gettext/Languages/autoloader.php'
    ));

    \Fedora\Autoloader\Dependencies::optional(array(
        '/usr/share/php/Twig/Extensions/autoload.php',
        array(
            '/usr/share/php/Twig2/autoload.php',
            '/usr/share/php/Twig/autoload.php',
    )));

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]