Ignore:
Timestamp:
Mar 5, 2010, 1:53:30 PM (15 years ago)
Author:
roby
Message:

Gestione charset con query mysql e sostituzione funzioni ereg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/temi/facebook/menu.php

    r2 r23  
    227227        for ($i=0; $i < sizeof($menulist); $i++) {
    228228                if($menulist[$i]!="") {
    229                         $tl = ereg_replace("lang-","",$menulist[$i]);
    230                         $tl = ereg_replace(".php","",$tl);
     229                        $tl = preg_replace("/lang-/","",$menulist[$i]);
     230                        $tl = preg_replace("/.php/","",$tl);
    231231                        $altlang = ucfirst($tl);
    232232                       
Note: See TracChangeset for help on using the changeset viewer.