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