| @@ 72-82 (lines=11) @@ | ||
| 69 | return $extension; |
|
| 70 | } |
|
| 71 | ||
| 72 | public static function getImagePath($type, $file) |
|
| 73 | { |
|
| 74 | $path = self::instance()->get_root(); |
|
| 75 | $path .= 'public'; |
|
| 76 | $path .= self::instance()->get_delimiter(); |
|
| 77 | $path .= $type; |
|
| 78 | $path .= self::instance()->get_delimiter(); |
|
| 79 | $path .= self::instance()->check_delimiters($file); |
|
| 80 | ||
| 81 | return $path; |
|
| 82 | } |
|
| 83 | ||
| 84 | private static function get_path($type, $file) |
|
| 85 | { |
|
| @@ 84-93 (lines=10) @@ | ||
| 81 | return $path; |
|
| 82 | } |
|
| 83 | ||
| 84 | private static function get_path($type, $file) |
|
| 85 | { |
|
| 86 | $path = self::instance()->get_root(); |
|
| 87 | $path .= $type; |
|
| 88 | $path .= self::instance()->get_delimiter(); |
|
| 89 | $path .= self::instance()->check_delimiters($file); |
|
| 90 | $path .= self::get_extension($type); |
|
| 91 | ||
| 92 | return $path; |
|
| 93 | } |
|
| 94 | ||
| 95 | private function get_included_files() |
|
| 96 | { |
|