-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.php
30 lines (24 loc) · 1.3 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
///////////////////////////////////////////////////////////////////////
/// Project: Àâòîìàòè÷åñêîå óïðàâëåíèå ñòàâêàìè Yandex.direct ///
/// Name: Ôàéë äëÿ çàïóñêà ïðîãðàììû yandex_direct_automate ///
/// Version: 1.1 ///
/// Author: Êîíîíåíêî Ñòàíèñëàâ Àëåêñàíäðîâè÷ ///
/// License: GNU General Public License ///
/// Url: http://cloud-automate.ru ///
/// Email: [email protected] ///
/// Requirements: PHP >= 5.2.0 ///
/// Charset: WINDOWS-1251 ///
/// Last modified: 21.08.2013 19:00 ///
///////////////////////////////////////////////////////////////////////
//Çàãðóçêà êîíôèãóðàöèîííîãî ôàéëà
include_once(dirname(__FILE__)."/config.php");
//Çàãðóçêà êëàññà àâòîìàòè÷åñêîãî óïðàâëåíèÿ ñòàâêàìè Yandex.direct
include_once(dirname(__FILE__)."/yandex_direct_automate.php");
//Ñîçäàíèå ýêçåìïëÿðà êëàññà
$Yandex_direct_automate=new Yandex_direct_automate();
//Óñòàíîâêà ñòàâîê direct.yandex.ru
$RETURN=$Yandex_direct_automate->automate();
//Îò÷åò î âûïîëíåíèè.
$Yandex_direct_automate->report();
?>