@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | function renderHtml() |
17 | 17 | { |
18 | - return get_class($this) . ' intentionally left blank'; |
|
18 | + return get_class($this).' intentionally left blank'; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | function execute() |
@@ -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 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | // @hack |
40 | 40 | if ($kernel->intranet->get('name') == 'Discimport.dk') { |
41 | - mail('[email protected]', $number . ' new orders', 'Do not come back complaining I did not warn you about new orders in Intraface.dk.'); |
|
41 | + mail('[email protected]', $number.' new orders', 'Do not come back complaining I did not warn you about new orders in Intraface.dk.'); |
|
42 | 42 | } |
43 | 43 | } |
44 | 44 |
@@ -67,7 +67,7 @@ |
||
67 | 67 | $filehandler = new FileHandler($kernel, $file['id']); |
68 | 68 | |
69 | 69 | // lille hack med at s�tte uploadpath p� |
70 | - $attachment = Swift_Attachment::fromPath($filehandler->getUploadPath() . $filehandler->get('server_file_name'), $filehandler->get('file_type'))->setFilename($file['filename']); |
|
70 | + $attachment = Swift_Attachment::fromPath($filehandler->getUploadPath().$filehandler->get('server_file_name'), $filehandler->get('file_type'))->setFilename($file['filename']); |
|
71 | 71 | $message->attach($attachment); |
72 | 72 | } |
73 | 73 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | continue; |
52 | 52 | } |
53 | 53 | |
54 | - echo $debtor['id'] . ' order set as sent'; |
|
54 | + echo $debtor['id'].' order set as sent'; |
|
55 | 55 | $d = Debtor::factory($kernel, $debtor['id']); |
56 | 56 | $d->setStatus('sent'); |
57 | 57 |
@@ -43,9 +43,9 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | while ($row = $result->fetchRow(MDB2_FETCHMODE_ASSOC)) { |
46 | - echo $row['number']. ', ' . $row['id']. ', ' . $row['date_created'] . ', '.$row['email']. ', '. $row['name']. ', '; |
|
46 | + echo $row['number'].', '.$row['id'].', '.$row['date_created'].', '.$row['email'].', '.$row['name'].', '; |
|
47 | 47 | |
48 | - $newsletter = $db->query('SELECT id FROM newsletter_subscriber WHERE contact_id = '. $row['id']); |
|
48 | + $newsletter = $db->query('SELECT id FROM newsletter_subscriber WHERE contact_id = '.$row['id']); |
|
49 | 49 | if ($newsletter->numRows() == 0) { |
50 | 50 | $subscriber = new NewsletterSubscriber($list); |
51 | 51 | $contact = new Contact($kernel, $row['id']); |
@@ -60,6 +60,6 @@ discard block |
||
60 | 60 | $i++; |
61 | 61 | } |
62 | 62 | |
63 | -echo $i. " number of contacts"; |
|
63 | +echo $i." number of contacts"; |
|
64 | 64 | |
65 | 65 | ?> |
66 | 66 | \ No newline at end of file |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | if (empty($opts->k) OR empty($opts->fk) OR empty($opts->ft) OR empty($opts->t)) { |
20 | - echo 'not used correctly' . "\n"; |
|
20 | + echo 'not used correctly'."\n"; |
|
21 | 21 | exit(1); |
22 | 22 | } |
23 | 23 |
@@ -250,7 +250,7 @@ |
||
250 | 250 | |
251 | 251 | foreach ($web_files AS $file) { |
252 | 252 | $src_file = substr($file, 4); |
253 | - $formatted_file = substr($file, strlen($web_dir . '/')); |
|
253 | + $formatted_file = substr($file, strlen($web_dir.'/')); |
|
254 | 254 | if (in_array($src_file, $ignore)) continue; |
255 | 255 | $pfm->addInstallAs($src_file, $formatted_file); |
256 | 256 | } |