@@ 3112-3119 (lines=8) @@ | ||
3109 | return $config->site; |
|
3110 | } |
|
3111 | ||
3112 | public function currentsection($path="") { |
|
3113 | global $ARConfig; |
|
3114 | if (!$path) { |
|
3115 | $path=$this->path; |
|
3116 | } |
|
3117 | $config=($ARConfig->cache[$path]) ? $ARConfig->cache[$path] : $this->loadConfig($path); |
|
3118 | return $config->section; |
|
3119 | } |
|
3120 | ||
3121 | public function parentsection($path) { |
|
3122 | global $ARConfig; |
|
@@ 3121-3126 (lines=6) @@ | ||
3118 | return $config->section; |
|
3119 | } |
|
3120 | ||
3121 | public function parentsection($path) { |
|
3122 | global $ARConfig; |
|
3123 | $path=$this->store->make_path($path, ".."); |
|
3124 | $config=($ARConfig->cache[$path]) ? $ARConfig->cache[$path] : $this->loadConfig($path); |
|
3125 | return $config->section; |
|
3126 | } |
|
3127 | ||
3128 | public function currentproject($path="") { |
|
3129 | global $ARConfig; |
|
@@ 3128-3135 (lines=8) @@ | ||
3125 | return $config->section; |
|
3126 | } |
|
3127 | ||
3128 | public function currentproject($path="") { |
|
3129 | global $ARConfig; |
|
3130 | if (!$path) { |
|
3131 | $path=$this->path; |
|
3132 | } |
|
3133 | $config=($ARConfig->cache[$path]) ? $ARConfig->cache[$path] : $this->loadConfig($path); |
|
3134 | return $config->project; |
|
3135 | } |
|
3136 | ||
3137 | public function parentproject($path) { |
|
3138 | global $ARConfig; |