Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Fuel\Application;
- class Controller_Install extends Controller\Base {
- public function action_index()
- {
- CLI::write(Cli::color('Getting ready to Install!', 'blue'));
- Cli::write("We need some information first.\n");
- $path = Cli::read('Where would you like to install?');
- Cli::write('Please wait while we install...');
- // Pretend we are installing something here
- Cli::wait(5);
- Cli::beep();
- Cli::write('Complete!');
- Cli::wait();
- }
- }
Add Comment
Please, Sign In to add comment