@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | { |
72 | 72 | function create($filename) |
73 | 73 | { |
74 | - $filename = $filename . '.tpl.php'; |
|
74 | + $filename = $filename.'.tpl.php'; |
|
75 | 75 | $__template_filename__ = k_search_include_path($filename); |
76 | 76 | if (!is_file($__template_filename__)) { |
77 | 77 | throw new Exception("Failed opening '".$filename."' for inclusion. (include_path=".ini_get('include_path').")"); |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | { |
86 | 86 | function new_IntrafacePublic_Admin_Client_XMLRPC() |
87 | 87 | { |
88 | - return new IntrafacePublic_Admin_Client_XMLRPC($GLOBALS["masterpassword"], false, INTRAFACE_XMLPRC_SERVER_PATH . "admin/server.php"); |
|
88 | + return new IntrafacePublic_Admin_Client_XMLRPC($GLOBALS["masterpassword"], false, INTRAFACE_XMLPRC_SERVER_PATH."admin/server.php"); |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | function new_Cache_Lite() |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -error_reporting(E_ALL &~E_DEPRECATED); |
|
2 | +error_reporting(E_ALL & ~E_DEPRECATED); |
|
3 | 3 | set_include_path(get_include_path()); |
4 | 4 | |
5 | 5 | define('INTRAFACE_XMLPRC_SERVER_PATH', 'http://localhost/intraface/intraface.dk/xmlrpc/'); |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | { |
4 | 4 | function renderHtml() |
5 | 5 | { |
6 | - return get_class($this) . ' has intentionally been left blank'; |
|
6 | + return get_class($this).' has intentionally been left blank'; |
|
7 | 7 | } |
8 | 8 | |
9 | 9 | function getPrivateKey() |
@@ -23,17 +23,17 @@ discard block |
||
23 | 23 | |
24 | 24 | function getContactClient() |
25 | 25 | { |
26 | - return new IntrafacePublic_Contact_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH . "contact/server.php"); |
|
26 | + return new IntrafacePublic_Contact_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH."contact/server.php"); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | function getNewsletterClient() |
30 | 30 | { |
31 | - return new IntrafacePublic_Newsletter_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH . "newsletter/server.php"); |
|
31 | + return new IntrafacePublic_Newsletter_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH."newsletter/server.php"); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | function getDebtorClient() |
35 | 35 | { |
36 | - return new IntrafacePublic_Debtor_XMLRPC_Client($this->getCredentials(), true, INTRAFACE_XMLPRC_SERVER_PATH . "debtor/server.php"); |
|
36 | + return new IntrafacePublic_Debtor_XMLRPC_Client($this->getCredentials(), true, INTRAFACE_XMLPRC_SERVER_PATH."debtor/server.php"); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | function execute() |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $this->getCredentials(), |
44 | 44 | $list_id, |
45 | 45 | $debug, |
46 | - INTRAFACE_XMLPRC_SERVER_PATH . "newsletter/server0101.php", |
|
46 | + INTRAFACE_XMLPRC_SERVER_PATH."newsletter/server0101.php", |
|
47 | 47 | 'utf-8'); // , 'iso-8859-1', 'xmlrpcext' |
48 | 48 | return $client; |
49 | 49 | } |
@@ -3,7 +3,7 @@ |
||
3 | 3 | { |
4 | 4 | function renderHtml() |
5 | 5 | { |
6 | - return get_class($this) . ' has intentionally been left blank'; |
|
6 | + return get_class($this).' has intentionally been left blank'; |
|
7 | 7 | } |
8 | 8 | |
9 | 9 | function getPrivateKey() |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $this->getCredentials(), |
61 | 61 | $shop_id, |
62 | 62 | $debug, |
63 | - INTRAFACE_XMLPRC_SERVER_PATH . "shop/server0100.php", |
|
63 | + INTRAFACE_XMLPRC_SERVER_PATH."shop/server0100.php", |
|
64 | 64 | 'utf-8'); // 'iso-8859-1', 'xmlrpcext' |
65 | 65 | return new IntrafacePublic_Shop($client, $this->cache); |
66 | 66 | } |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | new IntrafacePublic_OnlinePayment_Client_XMLRPC( |
74 | 74 | $this->getCredentials(), |
75 | 75 | $debug, |
76 | - INTRAFACE_XMLPRC_SERVER_PATH . "onlinepayment/server0100.php", // , 'iso-8859-1', 'xmlrpcext' |
|
76 | + INTRAFACE_XMLPRC_SERVER_PATH."onlinepayment/server0100.php", // , 'iso-8859-1', 'xmlrpcext' |
|
77 | 77 | 'utf-8' |
78 | 78 | ), |
79 | 79 | $this->cache |
@@ -10,7 +10,7 @@ |
||
10 | 10 | |
11 | 11 | function renderHtml() |
12 | 12 | { |
13 | - return get_class($this) . ' intentionally left blank'; |
|
13 | + return get_class($this).' intentionally left blank'; |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | function getPrivateKey() |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -require_once dirname(__FILE__) . '/../../common.php'; |
|
2 | +require_once dirname(__FILE__).'/../../common.php'; |
|
3 | 3 | require_once 'konstrukt/konstrukt.inc.php'; |
4 | 4 | require_once 'Ilib/ClassLoader.php'; |
5 | 5 | require_once 'konstrukt/konstrukt.inc.php'; |
@@ -2,7 +2,7 @@ |
||
2 | 2 | /** |
3 | 3 | * Set environment for the crontabs |
4 | 4 | */ |
5 | -$config_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.local.php'; |
|
5 | +$config_file = dirname(__FILE__).DIRECTORY_SEPARATOR.'config.local.php'; |
|
6 | 6 | if (!file_exists($config_file)) { |
7 | 7 | die('The config.local.php file is missing. Please create it.'); |
8 | 8 | } |