| @@ 2848-2854 (lines=7) @@ | ||
| 2845 | // split the remainder on colons to get the function name and the paramater |
|
| 2846 | $tmp = substr($text, $j+1, $k-$j-1); |
|
| 2847 | $b1 = strpos($tmp, ':'); |
|
| 2848 | if ($b1!==false) { |
|
| 2849 | $func = substr($tmp, 0, $b1); |
|
| 2850 | $parm = substr($tmp, $b1+1); |
|
| 2851 | } else { |
|
| 2852 | $func=$tmp; |
|
| 2853 | $parm=''; |
|
| 2854 | } |
|
| 2855 | if (!isset($func) || !strlen(trim($func))) { |
|
| 2856 | $directive=0; |
|
| 2857 | } else { |
|
| @@ 2912-2918 (lines=7) @@ | ||
| 2909 | // $bits = explode(':',substr($text,$j+1,$k-$j-1)); |
|
| 2910 | $tmp = substr($text, $j+1, $k-$j-1); |
|
| 2911 | $b1 = strpos($tmp, ':'); |
|
| 2912 | if ($b1!==false) { |
|
| 2913 | $func = substr($tmp, 0, $b1); |
|
| 2914 | $parm = substr($tmp, $b1+1); |
|
| 2915 | } else { |
|
| 2916 | $func=$tmp; |
|
| 2917 | $parm=''; |
|
| 2918 | } |
|
| 2919 | if (!isset($func) || !strlen(trim($func))) { |
|
| 2920 | $directive=0; |
|
| 2921 | } else { |
|