| @@ 190-194 (lines=5) @@ | ||
| 187 | public function getPhpCodeIncludeDir($directory = '', $filename = '', $once = false, $isPath = false, $type = 'include') |
|
| 188 | { |
|
| 189 | if ($once == false) { |
|
| 190 | if ($isPath === false) { |
|
| 191 | $ret = "{$type} {$directory} .'/{$filename}.php';\n"; |
|
| 192 | } else { |
|
| 193 | $ret = "{$type} {$directory};\n"; |
|
| 194 | } |
|
| 195 | } else { |
|
| 196 | if ($isPath === false) { |
|
| 197 | $ret = "{$type}_once {$directory} .'/{$filename}.php';\n"; |
|
| @@ 195-201 (lines=7) @@ | ||
| 192 | } else { |
|
| 193 | $ret = "{$type} {$directory};\n"; |
|
| 194 | } |
|
| 195 | } else { |
|
| 196 | if ($isPath === false) { |
|
| 197 | $ret = "{$type}_once {$directory} .'/{$filename}.php';\n"; |
|
| 198 | } else { |
|
| 199 | $ret = "{$type}_once {$directory};\n"; |
|
| 200 | } |
|
| 201 | } |
|
| 202 | ||
| 203 | return $ret; |
|
| 204 | } |
|