]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/yoomedia_functions.php
Script rewritten to setConfigEntry(), getConfig() and incrementConfigEntry()
[mailer.git] / inc / libs / yoomedia_functions.php
index 08334e4ef3e0604f3b9ea1cc96636b0451cee1b9..4b234a24638af97de7c6e6b1a74fa5ff8471f2a4 100644 (file)
@@ -51,11 +51,11 @@ function YOOMEDIA_TEST_CONFIG ($data) {
        $_CONFIG = merge_array($_CONFIG, $data);
 
        // Temporary allow maximum
-       $_CONFIG['yoomedia_tm_max_reload']    = 1000;
-       $_CONFIG['yoomedia_tm_min_wait']      = 0;
-       $_CONFIG['yoomedia_tm_clicks_remain'] = 10;
-       $_CONFIG['yoomedia_tm_min_pay']       = 0;
-       $_CONFIG['yoomedia_erotic_allowed']   = 1;
+       setConfigEntry('yoomedia_tm_max_reload'   , 1000);
+       setConfigEntry('yoomedia_tm_min_wait'     , 0);
+       setConfigEntry('yoomedia_tm_clicks_remain', 10);
+       setConfigEntry('yoomedia_tm_min_pay'      , 0);
+       setConfigEntry('yoomedia_erotic_allowed'  , 1);
 
        // Query the API with a test request without couting it
        // If zero reply comes back the data is invalid!