From: Roland Haeder Date: Tue, 28 Feb 2017 20:40:21 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e4c8bbae5064bfc7a32608e7f12a6428bf42cf28;p=core.git Continued: - added namespace to class config entries - added "import" of CryptoHelper and Cryptable - added "import" of Cacheable - fixed tpzo in namespace Signed-off-by: Roland Häder --- diff --git a/framework/config.php b/framework/config.php index 90517550..28803fef 100644 --- a/framework/config.php +++ b/framework/config.php @@ -167,7 +167,7 @@ $cfg->setConfigEntry('default_application', 'selector'); $cfg->setConfigEntry('verbose_level', 0); // CFG: CACHE-CLASS -$cfg->setConfigEntry('cache_class', 'MemoryCache'); +$cfg->setConfigEntry('cache_class', 'CoreFramework\Cache\Memory\MemoryCache'); // CFG: SEARCH-CRITERIA-CLASS $cfg->setConfigEntry('search_criteria_class', 'CoreFramework\Criteria\Search\SearchCriteria'); @@ -230,7 +230,7 @@ $cfg->setConfigEntry('email_change_filter_class', 'CoreFramework\Filter\Change\E $cfg->setConfigEntry('password_change_filter_class', 'CoreFramework\Filter\Change\Password\PasswordChangeFilter'); // CFG: ACCOUNT-PASSWORD-FILTER-CLASS -$cfg->setConfigEntry('account_password_filter_class', 'AccountPasswordVerifierFilter'); +$cfg->setConfigEntry('account_password_filter_class', 'CoreFramework\Filter\Verifier\Password\AccountPasswordVerifierFilter'); // CFG: USER-STATUS-FILTER-CLASS $cfg->setConfigEntry('user_status_filter_class', 'CoreFramework\Filter\Verifier\User\UserStatusVerifierFilter'); @@ -239,7 +239,7 @@ $cfg->setConfigEntry('user_status_filter_class', 'CoreFramework\Filter\Verifier\ $cfg->setConfigEntry('user_unconfirmed_filter_class', 'CoreFramework\Filter\Verifier\User\UserUnconfirmedVerifierFilter'); // CFG: CRYPTO-CLASS -$cfg->setConfigEntry('crypto_class', 'CryptoHelper'); +$cfg->setConfigEntry('crypto_class', 'CoreFramework\Helper\Crypto\CryptoHelper'); // CFG: RNG-CLASS $cfg->setConfigEntry('rng_class', 'CoreFramework\Crypto\RandomNumber\RandomNumberGenerator'); @@ -425,7 +425,7 @@ $cfg->setConfigEntry('list_group_class', 'CoreFramework\Lists\Group\ListGroupLis $cfg->setConfigEntry('default_iterator_class', 'CoreFramework\Iterator\DefaultIterator'); // CFG: ACTIVE-TASK-VISITOR-CLASS -$cfg->setConfigEntry('active_task_visitor_class', 'ActiveTaskVisitor'); +$cfg->setConfigEntry('active_task_visitor_class', 'CoreFramework\Visitor\Task\Active\ActiveTaskVisitor'); // CFG: IDLE-TASK-CLASS $cfg->setConfigEntry('idle_task_class', 'CoreFramework\Task\IdleLoop\IdleLoopTask'); diff --git a/framework/main/classes/cache/class_MemoryCache.php b/framework/main/classes/cache/class_MemoryCache.php index fb926f43..c23851ee 100644 --- a/framework/main/classes/cache/class_MemoryCache.php +++ b/framework/main/classes/cache/class_MemoryCache.php @@ -1,8 +1,9 @@