if (!defined('IN_COPPERMINE')) DIE();
function cpgGetPhpinfoConf($search)
if (eregi("modules/", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
define('ADDPIC_PHP', true);
define('NO_HEADER', true);
require("modules/" . $name . "/include/load.inc.php");
if (eregi("modules/", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
define('CONFIG_PHP', true);
require("modules/" . $name . "/include/load.inc.php");
if (eregi("modules/", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
define('DB_INPUT_PHP', true);
require("modules/" . $name . "/include/load.inc.php");
if (eregi("modules/", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
define('DISPLAYECARD_PHP', true);
require("modules/" . $name . "/include/load.inc.php");
if (eregi("modules/", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
define('ECARDS_PHP', true);
require("modules/" . $name . "/include/load.inc.php");
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// ////////////////// Variables //////////////////////////////
// used texts
$txt['bigger'] = ">";
function getallpicindb(&$pic_array, $startdir)
{
global $CONFIG;
if (ereg('..', $startdir)) die('Access denied'); // thanks to waraxe for finding this admin vulnerability
$sql = "SELECT filepath, filename " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE filepath LIKE '$startdir%'";
$result = db_query($sql);
// try to get more memory for executing large pictures -> DJMaze
ini_set("memory_limit", "32M");
// Method for thumbnails creation
$CONFIG['jpeg_qual'] = escapeshellarg($CONFIG['jpeg_qual']);
$CONFIG['im_options'] = escapeshellarg($CONFIG['im_options']);
switch ($method) {
/* (at your option) any later version. */
/****************************************************************************/
/* $Id: theme.php,v 1.6 2004/04/08 08:23:42 gtroll Exp $ */
/****************************************************************************/
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
Alle Zeitangaben sind in GMT + 1 Stunden