Skip to content

Commit

Permalink
Add ref to Google Group
Browse files Browse the repository at this point in the history
Added copyright info for demo
  • Loading branch information
Jason Leveille committed Feb 1, 2009
1 parent 4f98117 commit f3375fb
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 15 deletions.
1 change: 1 addition & 0 deletions README.markdown
Expand Up @@ -11,6 +11,7 @@ SimpleMC is meant to provide an easy way for content editors to edit blocks of c
* [The Code](http://github.com/leveille/simplemc/tree/master "The Code")
* [Issue Tracking](http://leveille.lighthouseapp.com/projects/24238-simple-mc/overview "Issue Tracking")
* [Live Demo](http://smc.jasonleveille.com/ "Live Demo")
* [Google Group](http://groups.google.com/group/simple_mc "Google Group")
* A product of [Blue Atlas Interactive](http://www.blueatlas.com/ "Blue Atlas Interactive")

##Requirements##
Expand Down
26 changes: 13 additions & 13 deletions index.php
Expand Up @@ -179,6 +179,10 @@
<a href="http://smc.jasonleveille.com/">
http://smc.jasonleveille.com/</a>
</li>
<li><strong>Google Group</strong>:
<a href="http://groups.google.com/group/simple_mc">
http://groups.google.com/group/simple_mc</a>
</li>
<li><strong>A product of</strong>:
<a href="http://www.blueatlas.com">Blue Atlas Interactive</a>
</li>
Expand All @@ -198,41 +202,38 @@

<p>
<?php
$dir = dirname(__FILE__) . '/smc/tmp/cache';
if (is_writable($dir)):
if (is_writable(SMC_CACHE)):
echo '<span class="notice success">',
'Your cache directory is writable.',
'</span>';
else:
echo '<span class="notice warning">',
'Your cache directory is NOT writable.<br>',
'<strong>Please:</strong> chmod 777 ' . $dir,
'<strong>Please:</strong> chmod 777 ', SMC_CACHE,
'</span>';
endif;
?>
</p>

<p>
<?php
$dir = dirname(__FILE__) . '/smc/tmp/logs';
if (is_writable($dir)):
if (is_writable(SMC_LOGS)):
echo '<span class="notice success">',
'Your log directory is writable.',
'</span>';
else:
echo '<span class="notice warning">',
'Your log directory is NOT writable.<br>',
'<strong>Please:</strong> chmod 777 ', $dir,
'<strong>Please:</strong> chmod 777 ', SMC_LOGS,
'</span>';
endif;
?>
</p>

<p>
<?php
$dir = dirname(__FILE__) .
'/smc/core/vendors/htmlpurifiersa/standalone' .
'/HTMLPurifier/DefinitionCache/Serializer';
$dir = SMC_HTML_PURIFIER .
'/standalone/HTMLPurifier/DefinitionCache/Serializer';
if (is_writable($dir)):
echo '<span class="notice success">',
'The necessary htmlpurifier directory is writable.',
Expand All @@ -248,8 +249,7 @@
<p>
<?php
$filePresent = null;
$file = 'database.config.php';
if (file_exists($configDir . $file)):
if (file_exists(SMC_CONFIG . '/database.config.php')):
echo '<span class="notice success">',
'Your database configuration file is present.';
$filePresent = true;
Expand All @@ -258,8 +258,8 @@
echo '<span class="notice warning">',
'Your database configuration file is NOT present.',
'<br>',
'Rename ', $configDir, '<strong>database.config.php.default</strong> to ',
$configDir, '<strong>database.config.php</strong>',
'Rename ', SMC_CONFIG, '/<strong>database.config.php.default</strong> to ',
SMC_CONFIG, '/<strong>database.config.php</strong>',
'</span>';
endif;
?>
Expand Down
17 changes: 16 additions & 1 deletion smc/tmp/demo/index.php
@@ -1,4 +1,19 @@
<?php include_once(dirname(dirname(dirname(__FILE__))) . '/config/config.ini.php'); ?>
<?php
/**
* SimpleMC - http://github.com/leveille/simple-mc/tree/master
* Copyright (C) Blue Atlas Interactive
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
* http://www.gnu.org/licenses/lgpl.html
*
* == END LICENSE ==
*/
include_once(dirname(dirname(dirname(__FILE__))) . '/config/config.ini.php'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
Expand Down
17 changes: 16 additions & 1 deletion smc/tmp/demo/page-2.php
@@ -1,4 +1,19 @@
<?php include_once(dirname(dirname(dirname(__FILE__))) . '/config/config.ini.php'); ?>
<?php
/**
* SimpleMC - http://github.com/leveille/simple-mc/tree/master
* Copyright (C) Blue Atlas Interactive
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
* http://www.gnu.org/licenses/lgpl.html
*
* == END LICENSE ==
*/
include_once(dirname(dirname(dirname(__FILE__))) . '/config/config.ini.php'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
Expand Down

0 comments on commit f3375fb

Please sign in to comment.