Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
- Updated default filetypes used for system tags
- Added support for RSS media enclosures - Restricted registration fields to match DB limits - Updated debug mode activation - Updated form style - Minor code style updates Signed-off-by: Marcus Campbell <marcus.campbell@gmail.com>
- Loading branch information
Showing
13 changed files
with
616 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,5 +1,8 @@ | ||
Scuttle contains code from the following open-source projects: | ||
|
||
Drupal | ||
http://www.drupal.org/ | ||
|
||
jQuery | ||
http://www.jquery.com/ | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,15 +1,16 @@ | ||
<?php | ||
// Turn debugging on | ||
define('SCUTTLE_DEBUG', TRUE); | ||
define('SCUTTLE_DEBUG', FALSE); | ||
|
||
// generic debugging function | ||
// Sample: | ||
// pc_debug(__FILE__, __LINE__, "This is a debug message."); | ||
|
||
function pc_debug($file, $line, $message) { | ||
if (defined('SCUTTLE_DEBUG') && SCUTTLE_DEBUG) { | ||
error_log("---DEBUG-". $sitename .": [$file][$line]: $message"); | ||
} else { | ||
error_log("SCUTTLE_DEBUG disabled"); | ||
} | ||
if (defined('SCUTTLE_DEBUG') && SCUTTLE_DEBUG) { | ||
error_log("---DEBUG-". $sitename .": [$file][$line]: $message"); | ||
} | ||
else { | ||
error_log("SCUTTLE_DEBUG disabled"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.