Go to the source code of this file.
Functions | |
| seoFail (string $message, int $code) | |
Variables | |
| $_SERVER ['HTTPS'] = 'on' | |
| $_SERVER ['HTTP_HOST'] = 'localhost' | |
| $_SERVER ['SERVER_PORT'] = '443' | |
| $_SERVER ['SCRIPT_NAME'] = '/dbxapp/index.php' | |
| $_SERVER ['PHP_SELF'] = '/dbxapp/index.php' | |
| $_SERVER ['REQUEST_METHOD'] = 'GET' | |
| $_SERVER ['REQUEST_URI'] = '/dbxapp/' | |
| $base = 'https://localhost/dbxapp/' | |
| $web = dbx()->get_system_obj('dbxWebApp') | |
| $_GET = array() | |
| $_POST = array() | |
| if($web->canonical_home_redirect_target() !==$base) | $_SERVER ['REQUEST_METHOD'] = 'POST' |
| if($web->canonical_home_redirect_target() !=='') | $_SERVER ['REQUEST_METHOD'] = 'GET' |
| if($web->content_permalink_redirect_target() !=='') | $tpl = new dbxTPL() |
| $robotsMethod = new ReflectionMethod(dbxTPL::class, 'effective_robots_meta') | |
| if($robotsMethod->invoke($tpl) !=='index, follow') | $renderer = new \dbx\dbxContent\dbxContentRenderer() |
| $canonicalMethod = new ReflectionMethod($renderer, 'seoCanonicalUrl') | |
| if( $canonicalMethod->invoke( $renderer, 'home', true) !==$base) if($canonicalMethod->invoke($renderer, 'produkte', false) !==$base . 'produkte') | $root = dirname(__DIR__, 2) |
| $sitemapSource | |
| if(strpos($sitemapSource, 'collectUserMenuLinks') !==false||strpos($sitemapSource, 'dbxContentHome::masterCid')===false||strpos($sitemapSource, 'isNoindex')===false||strpos($sitemapSource, ' $lngs=array($masterLng)')===false) | $htaccess = (string)file_get_contents(dirname($root) . '/.htaccess') |
| if(!preg_match('/RewriteRule \\^home\\/\\?\\$ https:\\/\\/dbxapp\\.de\\//', $htaccess)||strpos($htaccess, '%{HTTPS} !=on')===false | $designDir ) = $root . '/design' |
| $iterator | |
| foreach ( $iterator as $file) | |
| seoFail | ( | string | $message, |
| int | $code ) |
Definition at line 18 of file dbxSeoCanonicalPolicy_test.php.
| if ( $robotsMethod->invoke( $tpl) !=='noindex, follow') $_GET = array() |
Definition at line 28 of file dbxSeoCanonicalPolicy_test.php.
| $_POST = array() |
Definition at line 29 of file dbxSeoCanonicalPolicy_test.php.
| $_SERVER[ 'HTTP_HOST'] = 'localhost' |
Definition at line 6 of file dbxSeoCanonicalPolicy_test.php.
| $_SERVER[ 'HTTPS'] = 'on' |
Definition at line 5 of file dbxSeoCanonicalPolicy_test.php.
| $_SERVER[ 'PHP_SELF'] = '/dbxapp/index.php' |
Definition at line 9 of file dbxSeoCanonicalPolicy_test.php.
| if ( $web->canonical_home_redirect_target() !=='') $_SERVER[ 'REQUEST_METHOD'] = 'GET' |
Definition at line 39 of file dbxSeoCanonicalPolicy_test.php.
| if ( $web->canonical_home_redirect_target() !==$base) $_SERVER[ 'REQUEST_METHOD'] = 'POST' |
Definition at line 34 of file dbxSeoCanonicalPolicy_test.php.
| $_SERVER[ 'REQUEST_METHOD'] = 'GET' |
Definition at line 10 of file dbxSeoCanonicalPolicy_test.php.
| $_SERVER[ 'REQUEST_URI'] = '/dbxapp/' |
Definition at line 11 of file dbxSeoCanonicalPolicy_test.php.
| $_SERVER[ 'SCRIPT_NAME'] = '/dbxapp/index.php' |
Definition at line 8 of file dbxSeoCanonicalPolicy_test.php.
| $_SERVER[ 'SERVER_PORT'] = '443' |
Definition at line 7 of file dbxSeoCanonicalPolicy_test.php.
| $base = 'https://localhost/dbxapp/' |
Definition at line 23 of file dbxSeoCanonicalPolicy_test.php.
| $canonicalMethod = new ReflectionMethod($renderer, 'seoCanonicalUrl') |
Definition at line 99 of file dbxSeoCanonicalPolicy_test.php.
| if (!preg_match('/RewriteRule \\^home\\/\\?\\$ https:\\/\\/dbxapp\\.de\\//', $htaccess)||strpos( $htaccess, '%{HTTPS} !=on')===false $designDir) = $root . '/design' |
Definition at line 125 of file dbxSeoCanonicalPolicy_test.php.
| if (strpos( $sitemapSource, 'collectUserMenuLinks') !==false||strpos( $sitemapSource, 'dbxContentHome::masterCid')===false||strpos( $sitemapSource, 'isNoindex')===false||strpos( $sitemapSource, ' $lngs=array( $masterLng)')===false) $htaccess = (string)file_get_contents(dirname($root) . '/.htaccess') |
Definition at line 119 of file dbxSeoCanonicalPolicy_test.php.
| $iterator |
Definition at line 126 of file dbxSeoCanonicalPolicy_test.php.
| if ( $robotsMethod->invoke( $tpl) !=='index, follow') $renderer = new \dbx\dbxContent\dbxContentRenderer() |
Definition at line 98 of file dbxSeoCanonicalPolicy_test.php.
| $robotsMethod = new ReflectionMethod(dbxTPL::class, 'effective_robots_meta') |
Definition at line 74 of file dbxSeoCanonicalPolicy_test.php.
| if($canonicalMethod->invoke($renderer, 'home', true) !==$base) if ( $canonicalMethod->invoke( $renderer, 'produkte', false) !==$base . 'produkte') $root = dirname(__DIR__, 2) |
Definition at line 108 of file dbxSeoCanonicalPolicy_test.php.
| $sitemapSource |
Definition at line 109 of file dbxSeoCanonicalPolicy_test.php.
Definition at line 73 of file dbxSeoCanonicalPolicy_test.php.
Referenced by dbxForm\__construct(), dbxForm\add_action(), dbxReport\add_action(), dbxForm\add_fld(), dbxForm\add_obj(), dbxForm\create_fld(), dbxView\dbxView_init(), dbx\dbxContent_admin\dbxContent_view\dbxView_run(), dbxView\dbxView_run(), dbxForm\forward_init(), dbxReport\get_delete_tab_button(), dbxForm\get_fld_msg(), dbxForm\get_form_msg(), dbxReport\get_report_action_label(), dbxReport\get_report_pages(), dbxForm\get_tpl(), dbxFormTryCountTpl\get_tpl(), dbxTPL\get_tpl(), dbxForm\init(), dbxReport\init(), dbxForm\merge_tpl_data(), dbxTPL\read_tpl(), dbxReport\render_table_header_action_block(), dbxReport\render_table_header_data_columns(), dbxReport\render_table_row_action_block(), dbxReport\render_table_row_data_columns(), dbx\dbxAdmin\dbxReport_Modules\renderCard(), dbx\dbxContent\dbxContentLngSync\renderLngBar(), dbx\dbxContent\dbxContentRenderer\renderNotFound(), dbx\dbxContent\dbxContentRenderer\renderStatic(), dbx\dbxWorkflow\dbxWorkflowModule\renderStepContext(), dbxTPL\replaces(), dbxTPL\replaces_dbx(), dbx\dbxContent_admin\dbxContent_view\run(), dbxReport\run(), dbxReport\run(), dbxReport\set_tabel_tpl(), dbx\dbxContent_admin\dbxContent_sections\template_row_action_data(), and dbxForm\wait().
Definition at line 25 of file dbxSeoCanonicalPolicy_test.php.
| foreach($iterator as $file) | ( | $iterator as | ) |
Definition at line 129 of file dbxSeoCanonicalPolicy_test.php.