Location: PHPKode > projects > Zitro-Stats > include/update_plugins.inc.php
<?php

	// ANTIHACK
	defined('INSTATS') AND defined('UPDATE') OR die();

	fecho("\n==[ PLUGINS ]========================================\n");

	// FIND PLUGINS ...
	if($plugindir = @opendir('plugins')) {
		while($file = readdir($plugindir)) {
			if(is_dir('plugins/'.$file) && $file!='.' && $file!='..' && is_file('plugins/'.$file.'/update.inc.php'))
					include('plugins/'.$file.'/update.inc.php'); // ... AND RUN THEM
		}
		closedir($plugindir);
	} else
		fecho("\n  ERROR: opendir failed!\n");
		
?>
Return current item: Zitro-Stats