public/wordpress/wp-content/plugins/backupbuddy/classes/core.php
// Define how many minutes to cache the latest backupbuddy version number.
Define how many minutes to cache the latest backupbuddy version number.
Define how many minutes to cache the latest backupbuddy version number .
function pb_backupbuddy_split2( $string,$needle,$nth ) {
			$max = strlen($string);
			$n = 0;
			for($i=0;$i<$max;$i++){
				if ($string[$i]==$needle){
					$n++;
					if($n>=$nth){
						break;
					}
				}
			}
			$arr[] = substr($string,0,$i);
			$arr[] = substr($string,$i+1,$max);
			return $arr;
		}
function pb_backupbuddy_split2 ( $ string , $ needle , $ nth ) { $ max = strlen ( $ string ) ; $ n = 0 ; for ( $ i = 0 ; $ i < $ max ; $ i ++ ) { if ( $ string [ $ i ] == $ needle ) { $ n ++ ; if ( $ n >= $ nth ) { break ; } } } $ arr [ ] = substr ( $ string , 0 , $ i ) ; $ arr [ ] = substr ( $ string , $ i + 1 , $ max ) ; return $ arr ; }
Define how many minutes to cache the latest backupbuddy version number.
Define how many minutes to cache the latest backupbuddy version number .