97. File Comparison Report

Produced on Mon May 12 13:04:48 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

97.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\groups\orca\classes Mistake.php Thu Sep 20 08:59:38 2007 UTC
2 Dolphin-v.6.1.0\groups\orca\classes Mistake.php Wed Apr 9 17:44:58 2008 UTC

97.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 168
Changed 3 18
Inserted 0 0
Removed 0 0

97.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

97.4 Active regular expressions

No regular expressions were active.

97.5 Comparison detail

1   <?php   1   <?php
2   /********* ********** ********** ********** ********** ********** ********** ******   2   /********* ********** ********** ********** ********** ********** ********** ******
3   *                              O rca Intera ctive Foru m Script   3   *                              O rca Intera ctive Foru m Script
4   *                                  ---------- -----
  4   *                                  ---------- ----- --
5   *       Start e d                :   Fr   Nov   10   2006   5   *       b e gin                   :   Fr   Nov   10   2006
6   *       C opyright          :   (C)   200 7   BoonEx   Group   6   *       c opyright               :   (C)   200 6   BoonEx   Group
7   *       W ebsite                :   http://www .boonex.co m
  7   *       w ebsite                 :   http://www .boonex.co m /
8   * This fil e is part  of Orca -  Interactiv e Forum Sc ript   8   * This fil e is part  of Orca -  Interactiv e Forum Sc ript
9   *   9   *
10   *   Orca   is   free   software ;   y o u   c a n   r ed
i
s
tribut e   i t   and/ o r   modify   i t   u n d e r  
  10   *   Orca   is   free   software .   This   w o rk   is   li c e n s ed   under   a   Creat i ve   Common s   At tribut
i
o n   3.0   L i ce n s e .  
11   * the term s of the G NU General  Public Li cense as p ublished b y the    11   * http://c reativecom mons.org/l icenses/by /3.0/
12   * Free Sof tware Foun dation; ei ther versi on 2 of th    
13   * License,  or any la ter versio n.          
14   *   12   *
15   * Orca is  distribute d in the h ope that i t will be  useful, bu t WITHOUT  ANY WARRAN TY;   13   * Orca is  distribute d in the h ope that i t will be  useful, bu t WITHOUT  ANY WARRAN TY;
16   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   14   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
17   *   See   the   GNU   G e n e
r al   Pu b l i c   License   for   more   details.  
  15   *   See   the   Cr e ativ e   Commons   Att r i b ut i on   3.0   License   for   more   details.  
18   *   You   should   have   received   a   copy   of   the   GNU   G e n e
r al   Pu b l i c   License   along   with   Orca,  
  16   *   You   should   have   received   a   copy   of   the   Cr e ativ e   Commons   Att r i b ut i on   3.0   License   along   with   Orca,  
19   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   17   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
20   ********** ********** ********** ********** ********** ********** ********** *****/   18   ********** ********** ********** ********** ********** ********** ********** *****/
21     19  
22     20  
23   // error h andling fu nctions   21   // error h andling fu nctions
24     22  
25   class Mist ake extend s ThingPag e   23   class Mist ake extend s ThingPag e
26   {   24   {
27     25  
28   // private  variables   26   // private  variables
29          27       
30       var $_ error;                               // cur rent error  string   28       var $_ error;                               // cur rent error  string
31     29  
32   // public  functions   30   // public  functions
33     31  
34       /**   32       /**
35        * con structor   33        * con structor
36        */   34        */
37       functi on Mistake  ()   35       functi on Mistake  ()
38       {   36       {
39       }   37       }
40     38  
41     39  
42       /**   40       /**
43        *  se t error st ring for t he object   41        *  se t error st ring for t he object
44        */   42        */
45       functi on log ($s )   43       functi on log ($s )
46       {   44       {
47           gl obal $gCon f;   45           gl obal $gCon f;
48     46  
49           if  (strlen ( $gConf['di r']['error _log']))   47           if  (strlen ( $gConf['di r']['error _log']))
50           {   48           {
51                $fp = @f open ($gCo nf['dir'][ 'error_log '], "a");   49                $fp = @f open ($gCo nf['dir'][ 'error_log '], "a");
52                if ($fp)   50                if ($fp)
53                {   51                {
54                    @fwr ite ($fp,  date ('Y-m -d H:i:s',  time ())  . "\t$s\n" );   52                    @fwr ite ($fp,  date ('Y-m -d H:i:s',  time ())  . "\t$s\n" );
55                    @fcl ose ($fp);   53                    @fcl ose ($fp);
56                }   54                }
57           }   55           }
58     56  
59     57  
60           if ($gConf['d ebug'])   58           if ($gConf['d ebug'])
61                $this->d isplayErro r($s);            59                $this->d isplayErro r($s);         
62     60  
63           $t his->_erro r = $s;   61           $t his->_erro r = $s;
64       }      62       }   
65     63  
66     64  
67       functi on display Error ($s)   65       functi on display Error ($s)
68       {   66       {
69           gl obal $gCon f;   67           gl obal $gCon f;
70     68  
71           tr ansCheck ( $this->get ErrorPageX ML ($s), $ gConf['dir ']['xsl']  . 'default _error.xsl ', 1);   69           tr ansCheck ( $this->get ErrorPageX ML ($s), $ gConf['dir ']['xsl']  . 'default _error.xsl ', 1);
72     70  
73           ex it;   71           ex it;
74       }   72       }
75     73  
76     74  
77       /**   75       /**
78        * ret urns page  XML   76        * ret urns page  XML
79        */   77        */
80       functi on getErro rPageXML ( $s)   78       functi on getErro rPageXML ( $s)
81       {   79       {
82           re turn $this ->addHeade rFooter ($ s, $s);   80           re turn $this ->addHeade rFooter ($ s, $s);
83       }   81       }
84     82  
85   // private  functions   83   // private  functions
86     84  
87     85  
88   }   86   }
89     87  
90     88  
91     89  
92     90  
93     91  
94   ?>   92   ?>