equal
deleted
inserted
replaced
208 } |
208 } |
209 else |
209 else |
210 { |
210 { |
211 $title = basename($_SERVER['SCRIPT_NAME']); |
211 $title = basename($_SERVER['SCRIPT_NAME']); |
212 } |
212 } |
213 if ( scriptPath != '' ) |
213 $base_uri = scriptPath == '' ? ltrim($_SERVER['SCRIPT_NAME'], '/') : str_replace( scriptPath . '/', '', $_SERVER['SCRIPT_NAME'] ); |
214 $base_uri = str_replace( scriptPath . '/', '', $_SERVER['SCRIPT_NAME'] ); |
|
215 |
214 |
216 $this->page = $this->nslist['API'] . sanitize_page_id($base_uri); |
215 $this->page = $this->nslist['API'] . sanitize_page_id($base_uri); |
217 $this->fullpage = $this->nslist['API'] . sanitize_page_id($base_uri); |
216 $this->fullpage = $this->nslist['API'] . sanitize_page_id($base_uri); |
218 $this->namespace = 'API'; |
217 $this->namespace = 'API'; |
219 $this->cpage = array( |
218 $this->cpage = array( |