Permalink
Browse files

Merge pull request #2 from sseshachala/master

Joomla Command block fixed
  • Loading branch information...
2 parents 90698dc + bbca7a8 commit 152c1ecd0aa902eebbab98032d20d7d3540c8057 @hooduku committed Dec 19, 2011
Showing with 25 additions and 23 deletions.
  1. +22 −22 Joomla/Joomla/index.php
  2. +1 −1 Joomla/build.bat
  3. +2 −0 README.markdown
View
@@ -45,7 +45,7 @@
require_once('FileSystem.class.php');
/**
- * @command-handler WordPress
+ * @command-handler Joomla
*/
class Joomla
extends Microsoft_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract {
@@ -86,25 +86,25 @@ public function parameters() {
*
* $this->p->add('cmd_param_name', required(true|false), default value, help message string);
*/
- $this->p->add('offline', true, '0', 'Joomla Site is offline');
- $this->p->add('offline_message', true, '0', 'This site is down for maintenance.<br /> Please check back again soon.');
- $this->p->add('display_offline_message', true, '1', 'This site is down for maintenance.<br /> Please check back again soon.');
- $this->p->add('sitename', true, '1', 'Joomla on Azure');
- $this->p->add('editor', true, '1', 'tinymce');
- $this->p->add('list_limit', true, '1', '20');
- $this->p->add('access', true, '1', 'Access to the site');
- $this->p->add('debug', true, '0', 'Non Debug mode.');
- $this->p->add('debug_lang', true, '0', 'Debug Language is english (UK) by default');
- $this->p->add('db', true, '', 'Name of database to store Joomla data in');
+ $this->p->add('offline', true, '0', 'Joomla Site is offline');
+ $this->p->add('offline_message', true, '0', 'This site is down for maintenance.<br /> Please check back again soon.');
+ $this->p->add('display_offline_message', true, '1', 'This site is down for maintenance.<br /> Please check back again soon.');
+ $this->p->add('sitename', true, '1', 'Joomla on Azure');
+ $this->p->add('editor', true, '1', 'tinymce');
+ $this->p->add('list_limit', true, '1', '20');
+ $this->p->add('access', true, '1', 'Access to the site');
+ $this->p->add('debug', true, '0', 'Non Debug mode.');
+ $this->p->add('debug_lang', true, '0', 'Debug Language is english (UK) by default');
+ $this->p->add('db', true, '', 'Name of database to store Joomla data in');
$this->p->add('user', true, '', 'User account name with permissions to the Joomla database');
$this->p->add('password', true, '', 'Password of account with permissions to the Joomla database');
$this->p->add('host', true, '', 'URL to database host');
$this->p->add('dbtype', false, 'sqlazure', 'Database driver to use');
- $this->p->add('dbprefix', false, 'jos_', 'Joomla table prefix');
+ $this->p->add('dbprefix', false, 'jos_', 'Joomla table prefix');
$this->p->add('live_site', false, '', 'Live Site');
$this->p->add('secret', false, uniqid(), 'Secret');
$this->p->add('gzip', false, '0', 'Secure auth key');
- $this->p->add('error_reporting', false, '-1', 'default');
+ $this->p->add('error_reporting', false, '-1', 'default');
$this->p->add('helpurl', false, 'http://help.joomla.org/proxy/index.php?option=com_help&amp;keyref=Help{major}{minor}:{keyref}', 'Help URL');
$this->p->add('ftp_host', false, '127.0.0.1', 'FTP Host');
$this->p->add('ftp_port', false, '21', 'FTP Port');
@@ -127,17 +127,17 @@ public function parameters() {
$this->p->add('cachetime', true, '15', 'Cache Time');
$this->p->add('MetaDesc', true, '', 'Meta Description');
$this->p->add('MetaKeys', false, '', 'Meta Keys');
- $this->p->add('MetaTitle', false, '', 'Meta Title');
- $this->p->add('MetaAuthor', false, '', 'Meta Author');
- $this->p->add('sef', false, '1', 'SEF');
- $this->p->add('sef_rewrite', false, '0', 'SEF Rewrite');
- $this->p->add('sef_suffix', false, '0', 'SEF Suffix');
- $this->p->add('unicodeslugs', false, '0', 'Unicode Slugs');
- $this->p->add('feed_limit', false, '10', 'Feed Limit');
- $this->p->add('log_path', false, '0', 'E:/approot/logs');
+ $this->p->add('MetaTitle', false, '', 'Meta Title');
+ $this->p->add('MetaAuthor', false, '', 'Meta Author');
+ $this->p->add('sef', false, '1', 'SEF');
+ $this->p->add('sef_rewrite', false, '0', 'SEF Rewrite');
+ $this->p->add('sef_suffix', false, '0', 'SEF Suffix');
+ $this->p->add('unicodeslugs', false, '0', 'Unicode Slugs');
+ $this->p->add('feed_limit', false, '10', 'Feed Limit');
+ $this->p->add('log_path', false, '0', 'E:/approot/logs');
$this->p->add('tmp_path', false, '0', 'E:/approot/tmp');
$this->p->add('lifetime', false, '15', 'Lifetime');
- $this->p->add('session_handler', false, 'database', 'SEF Suffix');
+ $this->p->add('session_handler', false, 'database', 'SEF Suffix');
$this->p->add('source', false, 'C:/xampp/htdocs/Joomla', 'If there is an existing Joomla code base you can use it via a path');
if(!$this->p->verify()) die($this->p->getError());
View
@@ -15,7 +15,7 @@ echo Building scaffold .phar file
call scaffolder build -in="%PWD%\Joomla" -out="%PWD%\build\Joomla.phar"
echo Creating project directories
-call scaffolder run -out="%PWD%\build\Joomla" -s="%PWD%\build\Joomla.phar" -DB_NAME database_name -DB_USER "user@lhost" -DB_PASSWORD "*******" -DB_HOST "******.database.windows.net" -sync_account "account enpoint" -sync_key "account key"
+call scaffolder run -out="%PWD%\build\Joomla" -s="%PWD%\build\Joomla.phar" -DB_NAME database_name -DB_USER "user@lhost" -DB_PASSWORD "*******" -DB_HOST "******.database.windows.net"
REM -out="%PWD%\build\Joomla"
View
@@ -1,3 +1,5 @@
+The Joomla support is added. It would be greately appreciated if some one can help test this.
+
Scaffolds created for the Windows Azure SDK for PHP by the Microsoft Interoperability Team
http://azurephp.interopbridges.com

0 comments on commit 152c1ec

Please sign in to comment.