Assembla home | Assembla project page
 

Changeset 235

Show
Ignore:
Timestamp:
04/14/08 03:55:26 (7 months ago)
Author:
Slynderdale
Message:

A simple fix to the PHP plugin thanks to kodekrash

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Php.php

    r232 r235  
    4141            $name = str_replace('_', '-', $function); 
    4242            $contents = file_get_contents('http://php.net/manual/en/function.' . rtrim($name, '();') . '.php'); 
    43             $start = strpos($contents, '<div class="methodsynopsis">'); 
     43            $start = strpos($contents, '<div class="methodsynopsis dc-description">'); 
    4444            $end = strpos($contents, '</div>', $start); 
    4545            $contents = substr($contents, $start, $end-$start);