test
This file contains hidden or 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
<?php | |
$zip = "http://getsparks.org/static/install/spark-manager-0.0.3.zip"; | |
$loader = "http://getsparks.org/static/install/MY_Loader.php.txt"; | |
if(!file_exists("application/core")) | |
{ | |
echo "Can't find application/core. Currently this script only works with the default instance of Reactor. You may need to try a manual installation..\n"; | |
exit; | |
} | |
This file contains hidden or 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
//seezooでサイト名に基づいて著作権表示を行う | |
<address> | |
Copyright © <?php echo $this->site_data->site_title;?> Some Rights Reserved.<br /> | |
Powerd by <a href="http://seezoo.org/" title="seezoo">seezoo</a>. | |
<a href="http:// seezoo.org/top/theme" title="default">default</a> theme by <a href="http://seezoo.org/" title="Seezoo CMS">Seezoo CMS</a>. | |
</address> |
This file contains hidden or 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
<?php | |
//config/someclass.php | |
$config['sample_a'] = 'test'; | |
$config['sample_b'] = 'test2'; |
This file contains hidden or 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
<?php | |
// ---コントローラ記述関係省略--- | |
public function logs() | |
{ | |
$this->load->spark('fire_log/0.6.0'); | |
} |
This file contains hidden or 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
php tools/spark install -v0.6.0 fire_log |
This file contains hidden or 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
php tools/spark install -v1.0.9 table_torch |
This file contains hidden or 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
<?php | |
$config['table_torch_tables'] = array( | |
'test'=>array( 'edit'=>TRUE, 'delete'=>TRUE, 'add'=>TRUE ) | |
); |
This file contains hidden or 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
<?php | |
// controller記述省略 | |
public function torch(){ | |
$this->load->spark( 'table_torch/1.0.9'); | |
$this->table_torch->route(); | |
} |
This file contains hidden or 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
snippet cc | |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class `Cucfirst(expand("%"))` extends MY_Controller { | |
public function __construct() | |
{ | |
parent::__construct(); | |
} | |