това е :
<?php
/**
* SECTION 1: Configure your server paths
*/
define('DIR_BASE', '/');
define('PATH_BASE', '/path/to/home/');
// LOADING SYSTEM RESOURCES ** DO NOT EDIT **
define('PATH_INCLUDE', PATH_BASE . 'inc/');
define('PATH_LIB', PATH_BASE . 'klib/');
define('DIR_IMAGES', DIR_BASE . 'images/');
define('PATH_IMAGES', PATH_BASE . 'images/');
require_once(PATH_LIB . 'class.kConfig.php');
require_once(PATH_LIB . 'class.kTemplate.php');
require_once(PATH_LIB . 'class.kValidate.php');
require_once(PATH_LIB . 'kFunctions.php');
$cfg = new kConfig();
$tpl = new kTemplate();
// END LOADING SYSTEM RESOURCES
/**
* SECTION 2: Set common site information
*/
// This is the max # of hosts you want to allow (limited to # of hosts in PR class
$cfg->setVar('pr_maxhosts', 99);
// This is the max # of sites you want to allow in multiple PR checks
$cfg->setVar('pr_checklimit', 25);
// Set the site URL, name and default page title
$cfg->setVar('site_url', 'http://www.yoursite.com/');
$cfg->setVar('site_name', 'Turnkey PageRank Checker');
$cfg->setVar('site_title', 'Turnkey PageRank Checker Tool, Multiple PageRank Checker, and PageRank Display');
// Set site contact information
$cfg->setVar('contact_email', 'webmaster@yoursite.com');
// Set the active template
$cfg->setVar('template', 'default');
// Set the base PageRank image path
$cfg->setVar('path_pr_images', PATH_IMAGES . 'pr/');
$cfg->setVar('url_pr_images', $cfg->getVar('site_url') . '/images/pr/');
$cfg->setVar('pr_image_default', 'Google');
?>
------------------------------------------------------
а това е упътването за инсталация аз не мога да се справя/...
Line 28: Directory relative to your base URL
Code:
define('DIR_BASE', '/');
Line 29: Full absolute path to the script
Code:
define('PATH_BASE', '/path/to/home/');
-------------------------------------------
някой би ли попълнил конфиг-а
скрипта се намира на локалхост папка ww
<?php
/**
* SECTION 1: Configure your server paths
*/
define('DIR_BASE', '/');
define('PATH_BASE', '/path/to/home/');
// LOADING SYSTEM RESOURCES ** DO NOT EDIT **
define('PATH_INCLUDE', PATH_BASE . 'inc/');
define('PATH_LIB', PATH_BASE . 'klib/');
define('DIR_IMAGES', DIR_BASE . 'images/');
define('PATH_IMAGES', PATH_BASE . 'images/');
require_once(PATH_LIB . 'class.kConfig.php');
require_once(PATH_LIB . 'class.kTemplate.php');
require_once(PATH_LIB . 'class.kValidate.php');
require_once(PATH_LIB . 'kFunctions.php');
$cfg = new kConfig();
$tpl = new kTemplate();
// END LOADING SYSTEM RESOURCES
/**
* SECTION 2: Set common site information
*/
// This is the max # of hosts you want to allow (limited to # of hosts in PR class
$cfg->setVar('pr_maxhosts', 99);
// This is the max # of sites you want to allow in multiple PR checks
$cfg->setVar('pr_checklimit', 25);
// Set the site URL, name and default page title
$cfg->setVar('site_url', 'http://www.yoursite.com/');
$cfg->setVar('site_name', 'Turnkey PageRank Checker');
$cfg->setVar('site_title', 'Turnkey PageRank Checker Tool, Multiple PageRank Checker, and PageRank Display');
// Set site contact information
$cfg->setVar('contact_email', 'webmaster@yoursite.com');
// Set the active template
$cfg->setVar('template', 'default');
// Set the base PageRank image path
$cfg->setVar('path_pr_images', PATH_IMAGES . 'pr/');
$cfg->setVar('url_pr_images', $cfg->getVar('site_url') . '/images/pr/');
$cfg->setVar('pr_image_default', 'Google');
?>
------------------------------------------------------
а това е упътването за инсталация аз не мога да се справя/...
Line 28: Directory relative to your base URL
Code:
define('DIR_BASE', '/');
Line 29: Full absolute path to the script
Code:
define('PATH_BASE', '/path/to/home/');
-------------------------------------------
някой би ли попълнил конфиг-а
скрипта се намира на локалхост папка ww