~epii/kagura/1.1

« back to all changes in this revision

Viewing changes to kagura/initialize.php

  • Committer: epii
  • Date: 2010-01-25 17:22:50 UTC
  • Revision ID: public.epii@gmail.com-20100125172250-9m7rvdk941vm7i44
If magic quote was off, slashes for equations are striped forcefully.
Fixed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
                        }
125
125
                        return;
126
126
                case 'textool':
127
 
                        $exp = stripslashes(@$_GET['exp']);
 
127
                        $exp = @$_GET['exp'];
 
128
                        if(get_magic_quotes_gpc())
 
129
                                $exp = stripslashes($exp);
128
130
                        switch($tmp[1]){
129
131
                                case 'inline':
130
132
                                case 'i':