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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<?php | |
// put your code here | |
echo "update!"; |
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 | |
App::uses('AppController', 'Controller'); | |
/** | |
* Topics Controller | |
* | |
* @property Topic $Topic | |
*/ | |
class TopicsController extends AppController { |
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 | |
/** | |
* CakePHP BootstrapFormHelper | |
* CakePHP version 2.0+ | |
* Usage: | |
* // In Your Controller | |
* public $helpers = array('Form' => array('className' => 'BootstrapForm')); | |
* // In Your View | |
* $this->Form->input('name', array('label' => 'Name')); | |
* @author junichi11 |
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
[mysqld] | |
#5.5.16 | |
character-set-server=utf8 | |
skip-character-set-client-handshake | |
[client] | |
default-character-set=utf8 | |
[mysql] | |
default-character-set=utf8 |
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 | |
/** | |
* CakePHP ClearCacheShell for 2.0 | |
* @author junichi11 | |
*/ | |
class ClearCacheShell extends AppShell { | |
public $uses = array(); | |
public $task = array(); |
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 | |
/** | |
* CakePHP Clear Cache Shell | |
* Copyright (c) 2011 junichi11 | |
*/ | |
class ClearCacheShell extends Shell { | |
public $uses = array(); | |
public $task = array(); | |
private $clearDir = array('models', 'persistent', 'views'); |
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 echo $this->Plupload->loadWidget('jqueryui', array('height' => '550px')); ?> | |
... |
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 | |
/** | |
* CakePHP Plupload Plugin | |
* Pluplaod Component | |
* | |
* CakePHP version 1.3+ | |
* PHP version 5.3+ | |
* | |
* @author junichi11 | |
* |
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 | |
/** | |
* CakePHP Plupload Plugin | |
* Meioupload Controller | |
* | |
* Copyright (c) 2011 junichi11 | |
* | |
* @author junichi11 | |
* @license MIT LICENCE | |
*/ |
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 | |
/** | |
* CakePHP MeioUploadHelper | |
* Copyright (c) 2011 junichi11 | |
* @author junichi11 | |
* @license MIT | |
*/ | |
class MeioUploadHelper extends AppHelper { | |
//=============================================== | |
// property |