-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46fa2a6
commit d3ed917
Showing
4 changed files
with
22 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
Condor is a real, real simple PHP framework. | ||
So simple, I don't feel like explaining it right now. | ||
Condor is a simple PHP framework. | ||
Very simple. | ||
|
||
To get it working you gotta change the base routes in two places: | ||
index.php | ||
.htaccess | ||
|
||
It's pretty obvious. | ||
|
||
Make controllers for your stuff. There are a few already, so you can see how it hooks together. | ||
|
||
Add a flash message in a controller method like this: | ||
sys()->flash->|name| = |str|; | ||
|
||
Where |name| is anything (notice, error) and |str| is your error messages or whatever. It's all very exciting. | ||
I got some CSS to make this blingier, but you can just try it and see what it makes and whatever yourself. | ||
|
||
This isn't done yet, so don't come crying to me if you download it and it maxes out your credit cards or kills your rabbit or something. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
// (c) 2009 by Allyn Bauer <[email protected]> | ||
|
||
class FlashHelper { | ||
function __construct() { | ||
// flashes need a default array to keep track of existing flashes | ||
|
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