View Single Post
Old 03-12-2004, 12:27 PM   #6
Konstantine
Green Mole
 
Join Date: Mar 2004
Location: Russia
Posts: 21
Little bug in new admin panel

Hi over there!

Little bug in admin panel, doesn't work changing language, cause in config.php used double quotes, but trying to change with single.

change in config.php:

PHP Code:
$phpdig_language "en"// cs, da, de, en, es, fr, gr, it, nl, no, pt, ru 
on

PHP Code:
$phpdig_language 'en'// cs, da, de, en, es, fr, gr, it, nl, no, pt, ru 
------

Another one, if server configured to add slashes, changing won't work. To make it work, needs to change file config_set.php:

PHP Code:
function replacer($search,$replace){    
    
$search stripslashes($search);
    
$replace stripslashes($replace);
    
$filename="../includes/config.php";

    ... 

Now it works (for me )

Last edited by Konstantine; 03-12-2004 at 12:35 PM.
Konstantine is offline   Reply With Quote