Go to the source code of this file.
Variables | |
| $shopRoot = dirname(__DIR__) | |
| $projectModules = dirname(__DIR__, 2) | |
| $service = (string)file_get_contents($shopRoot . '/include/dbxShopService.class.php') | |
| $config = (string)file_get_contents($shopRoot . '/cfg/config.php') | |
| $admin = (string)file_get_contents($projectModules . '/dbxShop_admin/include/dbxShopAdmin.class.php') | |
| $fail | |
| if(!str_contains( $config, "\$config['demo_notice_enabled'] = true;")) if(!str_contains($service, "\$this->settingsBool(\$this->shopConfig(), 'demo_notice_enabled', true)")) if(substr_count( $admin, "'demo_notice_enabled'")< 3||!str_contains( $admin, 'dbxContentPageCache::invalidateAllFullPages()')) | foreach (array('', '_en', '_es') as $suffix) |
| $admin = (string)file_get_contents($projectModules . '/dbxShop_admin/include/dbxShopAdmin.class.php') |
Definition at line 9 of file shop_demo_notice_config_test.php.
| $config = (string)file_get_contents($shopRoot . '/cfg/config.php') |
Definition at line 8 of file shop_demo_notice_config_test.php.
| $fail |
Definition at line 11 of file shop_demo_notice_config_test.php.
| $projectModules = dirname(__DIR__, 2) |
Definition at line 6 of file shop_demo_notice_config_test.php.
| $service = (string)file_get_contents($shopRoot . '/include/dbxShopService.class.php') |
Definition at line 7 of file shop_demo_notice_config_test.php.
| $shopRoot = dirname(__DIR__) |
Definition at line 5 of file shop_demo_notice_config_test.php.
| if(!str_contains($config, "\$config['demo_notice_enabled'] = true;")) if(!str_contains( $service, "\$this->settingsBool(\$this->shopConfig(), 'demo_notice_enabled', true)")) if(substr_count($admin, "'demo_notice_enabled'")< 3||!str_contains($admin, 'dbxContentPageCache::invalidateAllFullPages()')) foreach(array('', '_en', '_es') as $suffix) | ( | array('', '_en', '_es') as | $suffix | ) |
Definition at line 27 of file shop_demo_notice_config_test.php.