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
#The normal way | |
rich97@Ubuntu:~/Webroot/CakeCMP/app/plugins$ ls -la | |
total 8 | |
drwxr-xr-x 2 rich97 rich97 4096 2010-02-03 15:30 . | |
drwxr-xr-x 13 rich97 rich97 4096 2010-01-22 17:15 .. | |
rich97@Ubuntu:~/Webroot/CakeCMP/app/plugins$ git clone [email protected]:rich97/CakeCMP.git | |
Initialized empty Git repository in /home/rich97/Webroot/CakeCMP/app/plugins/CakeCMP/.git/ | |
remote: Counting objects: 1508, done. | |
remote: Compressing objects: 100% (1432/1432), done. | |
remote: Total 1508 (delta 256), reused 1235 (delta 60) |
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
var loader = { | |
vpX: 0, | |
vpY: 0, | |
img: null, | |
setViewport: function(elem) { | |
loader.vpX = elem.width(); | |
loader.vpY = elem.height(); | |
}, | |
callback: function(obj, callback) { | |
$.each(callback, function(method, params) { |
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 | |
namespace li3_cms\action; | |
class Controller extends \lithium\action\Controller { | |
} |
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
-- phpMyAdmin SQL Dump | |
-- version 3.3.10 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Apr 04, 2011 at 01:36 PM | |
-- Server version: 5.5.10 | |
-- PHP Version: 5.3.6 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
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 | |
/** | |
* li3_access plugin for Lithium: the most rad php framework. | |
* | |
* @author Tom Maiaroto | |
* @copyright Copyright 2010, Union of RAD (http://union-of-rad.org) | |
* @license http://opensource.org/licenses/bsd-license.php The BSD License | |
*/ | |
namespace li3_access\tests\cases\extensions\adapter\security\access; |
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
$(document).ready(function() { | |
$('a').attr('title', ''); | |
}); |
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 | |
// ... | |
class AuthRbacTest extends \lithium\test\Unit { | |
// ... | |
public function testParseMatch() { | |
$request = new Request(array('library' => 'test_library', 'controller' => 'test_controller', 'action' => 'test_action')); |
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
Summary | |
Classes Covered 1 | |
Executable Lines 41 | |
Lines Covered 41 | |
Lines Uncovered 0 | |
Total Coverage 100% | |
Average Per Class 100% |
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 | |
use lithium\security\Auth; | |
use lithium\security\Password; | |
use li3_access\security\Access; | |
use li3_admin\models\Staffs; | |
Auth::config(array( | |
'root' => array( | |
'adapter' => 'Form', 'model' => 'Staffs', 'with' => 'Accounts', |
OlderNewer