Re: Mythweb broken since perl upgrade (. not in path anymore…

Page principale

Répondre à ce message
Auteur: Stephan Seitz
Date:  
À: dmo-discussion
Sujet: Re: Mythweb broken since perl upgrade (. not in path anymore)
On So, Okt 09, 2016 at 09:38:39 +0200, Christian Marillat wrote:
>On 07 oct. 2016 16:29, Stephan Seitz <stse+debian@???> wrote:
>> Here is the new ticket:
>> https://code.mythtv.org/trac/ticket/12895
>Patch in https://code.mythtv.org/trac/ticket/12895#comment%3A2 fix this
>issue ?


Yes, it does. I added the line after the module loading:

# Load some required modules
    use CGI qw/:standard/;
    use DBI;
    use Cwd 'abs_path';
    use File::Basename;


# Add mythweb dir to @INC
    use lib dirname(abs_path($ENV{'SCRIPT_FILENAME'} or $0));


I don’t know if this is the right place.

Shade and sweet water!

    Stephan


--
| Stephan Seitz          E-Mail: stse@??? |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |