• Previous message: [greg-dev] set_time_limit - Safe Mode Restriction
  • Next message: [greg-dev] set_time_limit - Safe Mode Restriction
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] set_time_limit - Safe Mode Restriction

    Marcus, glad you're feeling better :)
    
    I've committed the set_time_limit changes you suggested, I guess they
    make sense.
    
    As for the i18-ed dates... it's supposed to work! On my system (OS X
    10.4.2), if I set the language to German, the first item date reads
    "Veroeffentlicht: Oktober 12, 2005".
    
    Am I missing something?
    
     -m
    
    
    
    On 10/12/05, Marcus Kimpenhaus <marcus at kimpenhaus.de> wrote:
    > Hi,
    >
    > sorry for being absent for a few weeks - but after a trip to Lisbon I
    > had some stomach flu - happy feeling better now ,-)
    >
    > I recently updated to the new svn trunk (release 0.5.3 revision# 947).
    >
    > What I recognized was - when I updated my feeds - that there was a safe
    > mode warning - caused by the set_time_limit in the /cls/update.php
    >
    > I've added a small diff file containing a fix for this part.
    >
    > set_time_limit(0); --> @set_time_limit(0);
    >
    > Hope this meets the coding standards ^^
    >
    > Another point I'd like to add is a new feature - I guess.
    > And it's about i18n again - what else ^^
    >
    > php itself unfortunately does not translate days and months - what about
    > translating them - equal to wordpress??
    >
    > Greets,
    > Marcus
    >
    >
    > --
    > Marcus Kimpenhaus
    >
    > Polsumer Str. 56
    > 45896 Gelsenkirchen
    >
    > +49 (209) 9256075
    > marcus at kimpenhaus.de
    >
    >
    > Index: admin/channels.php
    > ===================================================================
    > --- admin/channels.php  (revision 946)
    > +++ admin/channels.php  (working copy)
    > @@ -430,7 +430,7 @@
    >              $opmlfid = getRootFolder();
    >                 }
    >
    > -        set_time_limit(0);
    > +        @set_time_limit(0);
    >                 @ini_set('max_execution_time', 300);
    >
    >                 // Parse into and OPML object
    > Index: cls/update.php
    > ===================================================================
    > --- cls/update.php      (revision 946)
    > +++ cls/update.php      (working copy)
    > @@ -59,7 +59,7 @@
    >                 $this->populate();
    >
    >                 // Script timeout: ten seconds per feed should be a good upper limit
    > -               set_time_limit(0);
    > +               @set_time_limit(0);
    >                 @ini_set('max_execution_time', (10 * count($this->chans) + 300));
    >         }
    >
    >
    >
    > _______________________________________________
    > gregarius-dev mailing list
    > gregarius-dev at sinless.org
    > http://sinless.org/mailman/listinfo/gregarius-dev
    >
    >
    >
    
    
    Posted by Marco Bonetti [reply] at Wed Oct 12 20:05:01 CEST 2005