Changeset 64


Ignore:
Timestamp:
03/08/2009 08:21:25 AM (3 years ago)
Author:
amir
Message:

Fix for the bug reported in version 0.0.3 by Joe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/transposh.php

    r60 r64  
    764764         
    765765        //keep only the file name and its parent directory 
    766         $file = preg_replace('/.*(\/[^\/]+\/[^\/]+)$/', '$1', $file); 
     766        $file = preg_replace('/.*\/([^\/]+\/[^\/]+)$/', '$1', $file); 
    767767        logger("Plugin path $file", 3); 
    768768        return $file; 
Note: See TracChangeset for help on using the changeset viewer.