Changeset 116

Show
Ignore:
Timestamp:
11/11/07 15:34:39 (1 year ago)
Author:
mikey
Message:

use CLASS instead of handwritten class name

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/XJConf/XJConfLoader.php

    r115 r116  
    3030         
    3131        if (substr(__FILE__, 0, 7) === 'star://') { 
    32             include str_replace('net::xjconf::XJConfLoader', '', __FILE__) . $className
     32            include str_replace(__CLASS__, $className, __FILE__)
    3333        } 
    3434 
     
    4545    { 
    4646        if (substr(__FILE__, 0, 7) === 'star://') { 
    47             return file_exists(str_replace('net::xjconf::XJConfLoader', '', __FILE__) . $className); 
     47            return file_exists(str_replace(__CLASS__, $className, __FILE__)); 
    4848        } 
    4949