|
@@ 3046-3053 (lines=8) @@
|
| 3043 |
|
return $config->site; |
| 3044 |
|
} |
| 3045 |
|
|
| 3046 |
|
public function currentsection($path="") { |
| 3047 |
|
global $ARConfig; |
| 3048 |
|
if (!$path) { |
| 3049 |
|
$path=$this->path; |
| 3050 |
|
} |
| 3051 |
|
$config=($ARConfig->cache[$path]) ? $ARConfig->cache[$path] : $this->loadConfig($path); |
| 3052 |
|
return $config->section; |
| 3053 |
|
} |
| 3054 |
|
|
| 3055 |
|
public function parentsection($path) { |
| 3056 |
|
global $ARConfig; |
|
@@ 3055-3060 (lines=6) @@
|
| 3052 |
|
return $config->section; |
| 3053 |
|
} |
| 3054 |
|
|
| 3055 |
|
public function parentsection($path) { |
| 3056 |
|
global $ARConfig; |
| 3057 |
|
$path=$this->store->make_path($path, ".."); |
| 3058 |
|
$config=($ARConfig->cache[$path]) ? $ARConfig->cache[$path] : $this->loadConfig($path); |
| 3059 |
|
return $config->section; |
| 3060 |
|
} |
| 3061 |
|
|
| 3062 |
|
public function currentproject($path="") { |
| 3063 |
|
global $ARConfig; |
|
@@ 3062-3069 (lines=8) @@
|
| 3059 |
|
return $config->section; |
| 3060 |
|
} |
| 3061 |
|
|
| 3062 |
|
public function currentproject($path="") { |
| 3063 |
|
global $ARConfig; |
| 3064 |
|
if (!$path) { |
| 3065 |
|
$path=$this->path; |
| 3066 |
|
} |
| 3067 |
|
$config=($ARConfig->cache[$path]) ? $ARConfig->cache[$path] : $this->loadConfig($path); |
| 3068 |
|
return $config->project; |
| 3069 |
|
} |
| 3070 |
|
|
| 3071 |
|
public function parentproject($path) { |
| 3072 |
|
global $ARConfig; |