Changeset 5499 for extensions/Random_Header
- Timestamp:
- Mar 31, 2010, 4:28:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Random_Header/main.inc.php
r5486 r5499 2 2 /* 3 3 Plugin Name: Random Header 4 Version: 2.0. d4 Version: 2.0.e 5 5 Description: Random Header allow you to show in the header a random picture from the choosen categorie, as a normal image, or as a background 6 6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=188 … … 10 10 11 11 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 12 DEFINE('RH_VERSION','v2.0. d');12 DEFINE('RH_VERSION','v2.0.e'); 13 13 define('RH_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/'); 14 14 15 function get_file_contents($url, $totalTries = 5) 15 if (! function_exists('get_file_contents')) { 16 function get_file_contents($url, $totalTries = 5) 16 17 { 17 18 $Tries = 0; … … 25 26 return $contents; 26 27 } 28 } 27 29 28 30 class RandomHeader
Note: See TracChangeset
for help on using the changeset viewer.