@@ -42,8 +42,8 @@ |
||
| 42 | 42 | |
| 43 | 43 | if($length < strlen($this->content)) |
| 44 | 44 | $this->trim_string($length); |
| 45 | - else |
|
| 46 | - $etc = ''; |
|
| 45 | + else |
|
| 46 | + $etc = ''; |
|
| 47 | 47 | $this->check_exclude_tags(); |
| 48 | 48 | $this->close_tags($etc); |
| 49 | 49 | } |
@@ -44,9 +44,9 @@ |
||
| 44 | 44 | $width = $file_size[0]; |
| 45 | 45 | $description = $photo_result->description; |
| 46 | 46 | |
| 47 | - if ($description == '') { |
|
| 48 | - Debugger::logMessage("No description for {$category}/{$photo}"); |
|
| 49 | - } |
|
| 47 | + if ($description == '') { |
|
| 48 | + Debugger::logMessage("No description for {$category}/{$photo}"); |
|
| 49 | + } |
|
| 50 | 50 | |
| 51 | 51 | $domain = '/'; |
| 52 | 52 | if($is_absolute) |
@@ -20,21 +20,21 @@ |
||
| 20 | 20 | private static $USER_MENTION_LINK = '<a href="https://twitter.com/%1$s" rel="nofollow" target="_blank" title="%2$s (%1$s) on Twitter">@%1$s</a>'; |
| 21 | 21 | private static $MEDIA_LINK = '<a class="photo" href="%s" rel="nofollow" target="_blank" title="%s"><img src="%s:%s" alt="%s" height="%s" width="%s" /></a>'; |
| 22 | 22 | |
| 23 | - private $consumer_key; |
|
| 24 | - private $consumer_secret; |
|
| 25 | - private $access_token; |
|
| 26 | - private $access_secret; |
|
| 23 | + private $consumer_key; |
|
| 24 | + private $consumer_secret; |
|
| 25 | + private $access_token; |
|
| 26 | + private $access_secret; |
|
| 27 | 27 | |
| 28 | 28 | private $json; |
| 29 | 29 | |
| 30 | 30 | public function __construct() |
| 31 | 31 | { |
| 32 | - global $config; |
|
| 32 | + global $config; |
|
| 33 | 33 | |
| 34 | - $this->consumer_key = $config->twitter->consumer_key; |
|
| 35 | - $this->consumer_secret = $config->twitter->consumer_secret; |
|
| 36 | - $this->access_token = $config->twitter->access_token; |
|
| 37 | - $this->access_secret = $config->twitter->access_secret; |
|
| 34 | + $this->consumer_key = $config->twitter->consumer_key; |
|
| 35 | + $this->consumer_secret = $config->twitter->consumer_secret; |
|
| 36 | + $this->access_token = $config->twitter->access_token; |
|
| 37 | + $this->access_secret = $config->twitter->access_secret; |
|
| 38 | 38 | |
| 39 | 39 | $json = $this->get_data(); |
| 40 | 40 | |
@@ -205,7 +205,7 @@ |
||
| 205 | 205 | private static function start_gzipping() |
| 206 | 206 | { |
| 207 | 207 | if(!ob_start('ob_gzhandler')) |
| 208 | - ob_start(); |
|
| 208 | + ob_start(); |
|
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | } |
| 212 | 212 | \ No newline at end of file |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | switch($piece) |
| 53 | 53 | { |
| 54 | 54 | case 'jquery-1.4.2' : |
| 55 | - case 'jquery-1.10.2.min' : |
|
| 55 | + case 'jquery-1.10.2.min' : |
|
| 56 | 56 | case 'jquery-ui-1.8.2' : |
| 57 | 57 | case 'ga' : |
| 58 | 58 | $simple_pieces[] = $piece; |
@@ -118,9 +118,9 @@ discard block |
||
| 118 | 118 | foreach($array as $file) |
| 119 | 119 | { |
| 120 | 120 | $piece_path = self::get_piece_path($type, $file); |
| 121 | - $contents .= "/*** {$file} ***/\n\n"; |
|
| 121 | + $contents .= "/*** {$file} ***/\n\n"; |
|
| 122 | 122 | $contents .= file_get_contents($piece_path); |
| 123 | - $contents .= "\n\n\n"; |
|
| 123 | + $contents .= "\n\n\n"; |
|
| 124 | 124 | } |
| 125 | 125 | return self::make_final_file($type, $contents, $site); |
| 126 | 126 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | { |
| 27 | 27 | //if(!$this->time_to_run($frequency)) |
| 28 | 28 | // continue; |
| 29 | - if ($cron != 'TwitterCron') continue; |
|
| 29 | + if ($cron != 'TwitterCron') continue; |
|
| 30 | 30 | |
| 31 | 31 | Loader::load('utility', "cron/{$cron}"); |
| 32 | 32 | $reflection = new ReflectionClass($cron); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | public function __construct() |
| 14 | 14 | { |
| 15 | - global $config; |
|
| 15 | + global $config; |
|
| 16 | 16 | $this->headers['From'] = self::$FROM; |
| 17 | 17 | $this->headers['Reply-To'] = "Jacob <{$config->admin_email}>"; |
| 18 | 18 | $this->headers['Bcc'] = "Jacob <{$config->admin_email}>"; |