diff --git a/known2/php7/0.9.9/LICENSE b/known2/php7/0.9.9/LICENSE new file mode 100644 index 0000000..de55256 --- /dev/null +++ b/known2/php7/0.9.9/LICENSE @@ -0,0 +1,13 @@ +Copyright Known, Inc + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/known2/php7/0.9.9/init.xml b/known2/php7/0.9.9/init.xml new file mode 100644 index 0000000..47da755 --- /dev/null +++ b/known2/php7/0.9.9/init.xml @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + extract("main"); + + // TIP: this is where you install code goes. see: http://www.installatron.com/sdk + // TIP: if no code is added here, the installer will simply extract the archive + // into the install directory. + + // TIP: install code is made of Installatron commands. some examples: + // move $this->mv('FROM','TO'); + // copy $this->cp('FROM','TO'); + // remove (delete) $this->rm('FILE_OR_DIR'); + // chmod $this->chmod('FILE_OR_DIR',0777); + // edit file (regex) $this->sr('FILE','#REGEX#","REPLACE_WITH"); + // ...see all the commands at: http://www.installatron.com/sdk_commands + + $this->chmod('Uploads',0755); + $this->db_import('schemas/mysql/mysql.sql'); + $this->cp('htaccess.dist','.htaccess'); + + // TIP: Installatron has a lot of useful variables. some examples: + // install url $this->url + // install path $this->path + // database host $this->db_host + // database host $this->db_host + // database name $this->db_name + // database username $this->db_user + // database password $this->db_pass + // table prefix $this->db_prefix + // ...see all the variables at: http://www.installatron.com/sdk_commands + + // TIP: you can add as many steps as you need + // TIP: you can remove these comments if you don't need them. + + $this->write('config.ini', ' +database = "MySQL" +dbuser = "/##dbuser##/" +dbpass = "/##dbpass##/" +dbname = "/##dbname##/" +dbhost = "/##dbhost##/" +title = "/##title##/" +path = "/##path##/" +uploadpath = "/##uploadpath##/" +'); + + $this->sr("config.ini", "/##dbuser##/", ($this->db_user)); + $this->sr("config.ini", "/##dbpass##/", ($this->db_pass)); + $this->sr("config.ini", "/##dbhost##/", ($this->db_host)); + $this->sr("config.ini", "/##dbname##/", ($this->db_name)); + $this->sr("config.ini", "/##path##/", $this->path); + $this->sr("config.ini", "/##uploadpath##/", $this->path . '/Uploads'); + $this->sr("config.ini", "/##title##/", ($this->input["field_sitetitle"])); + ?> + + diff --git a/known2/php7/0.9.9/install.php b/known2/php7/0.9.9/install.php new file mode 100644 index 0000000..a6a82d8 --- /dev/null +++ b/known2/php7/0.9.9/install.php @@ -0,0 +1,104 @@ +setStepLabel("_step_progress_settings"); + // TIP: custom inputs can be added here! see: http://www.installatron.com/sdk_commands#howinput + } + + public function step1_process() + { + // TIP: error checking for custom inputs can be added here + } + + //========================================================================== + // STEP II: ARCHIVE EXTRACTION + //========================================================================== + + public function step2_init() + { + $this->setStepLabel("_step_progress_extracting"); + } + + public function step2_process() + { + /// extract the 'main' archive: + $this->extract("main"); + } + + //========================================================================== + // STEP III: CONFIGURING INSTALL + //========================================================================== + + public function step3_init() + { + $this->setStepLabel("_step_progress_processing"); + } + + public function step3_process() + { + // TIP: this is where you install code goes. see: http://www.installatron.com/sdk + // TIP: if no code is added here, the installer will simply extract the archive + // into the install directory. + + // TIP: install code is made of Installatron commands. some examples: + // move $this->mv('FROM','TO'); + // copy $this->cp('FROM','TO'); + // remove (delete) $this->rm('FILE_OR_DIR'); + // chmod $this->chmod('FILE_OR_DIR',0777); + // edit file (regex) $this->sr('FILE','#REGEX#","REPLACE_WITH"); + // ...see all the commands at: http://www.installatron.com/sdk_commands + + $this->chmod('Uploads',0755); + $this->db_import('schemas/mysql/mysql.sql'); + $this->cp('htaccess.dist','.htaccess'); + + // TIP: Installatron has a lot of useful variables. some examples: + // install url $this->url + // install path $this->path + // database host $this->db_host + // database host $this->db_host + // database name $this->db_name + // database username $this->db_user + // database password $this->db_pass + // table prefix $this->db_prefix + // ...see all the variables at: http://www.installatron.com/sdk_commands + + // TIP: you can add as many steps as you need + // TIP: you can remove these comments if you don't need them. + + $this->write('config.ini', ' + database = "MySQL" + dbuser = "/##dbuser##/" + dbpass = "/##dbpass##/" + dbname = "/##dbname##/" + dbhost = "/##dbhost##/" + title = "/##title##/" + path = "/##path##/" + uploadpath = "/##uploadpath##/" + '); + + $this->sr("config.ini", "/##dbuser##/", ($this->db_user)); + $this->sr("config.ini", "/##dbpass##/", ($this->db_pass)); + $this->sr("config.ini", "/##dbhost##/", ($this->db_host)); + $this->sr("config.ini", "/##dbname##/", ($this->db_name)); + $this->sr("config.ini", "/##path##/", $this->path); + $this->sr("config.ini", "/##uploadpath##/", $this->path . '/Uploads'); + $this->sr("config.ini", "/##title##/", ($this->input["field_sitetitle"])); + + } +} + + +?> \ No newline at end of file diff --git a/known2/php7/icon.png b/known2/php7/icon.png new file mode 100644 index 0000000..607c3c8 Binary files /dev/null and b/known2/php7/icon.png differ diff --git a/known2/php7/icon175.png b/known2/php7/icon175.png new file mode 100644 index 0000000..607c3c8 Binary files /dev/null and b/known2/php7/icon175.png differ diff --git a/known2/php7/icon1752x.png b/known2/php7/icon1752x.png new file mode 100644 index 0000000..e26fd68 Binary files /dev/null and b/known2/php7/icon1752x.png differ diff --git a/known2/php7/icon64.png b/known2/php7/icon64.png new file mode 100644 index 0000000..8cf0e81 Binary files /dev/null and b/known2/php7/icon64.png differ diff --git a/known2/php7/icon642x.png b/known2/php7/icon642x.png new file mode 100644 index 0000000..f040d5e Binary files /dev/null and b/known2/php7/icon642x.png differ diff --git a/known2/php7/init.xml b/known2/php7/init.xml new file mode 100644 index 0000000..b18c770 --- /dev/null +++ b/known2/php7/init.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/known2/php7/locale_en.ini b/known2/php7/locale_en.ini new file mode 100644 index 0000000..05a0272 --- /dev/null +++ b/known2/php7/locale_en.ini @@ -0,0 +1,5 @@ +_installer_known2_title=Known +_installer_known2_type=_types_blog +_installer_known2_category=_categories_contentmanagementsystems +_installer_known2_description=Create a single website for all your content. Publish to your own site, share to Twitter, Facebook and more. +_installer_known2_authordescription=Known diff --git a/known2/php7/logo.png b/known2/php7/logo.png new file mode 100644 index 0000000..a9144e8 Binary files /dev/null and b/known2/php7/logo.png differ diff --git a/known2/php7/logo2x.png b/known2/php7/logo2x.png new file mode 100644 index 0000000..150a999 Binary files /dev/null and b/known2/php7/logo2x.png differ diff --git a/known2/php7/sc1.png b/known2/php7/sc1.png new file mode 100644 index 0000000..e69de29 diff --git a/known2/php7/sc2.png b/known2/php7/sc2.png new file mode 100644 index 0000000..a3581d8 Binary files /dev/null and b/known2/php7/sc2.png differ diff --git a/known2/php7/sc3.png b/known2/php7/sc3.png new file mode 100644 index 0000000..caeefcc Binary files /dev/null and b/known2/php7/sc3.png differ diff --git a/known2/php7/sc4.png b/known2/php7/sc4.png new file mode 100644 index 0000000..b28a875 Binary files /dev/null and b/known2/php7/sc4.png differ diff --git a/known2/php7/showcases.xml.cache b/known2/php7/showcases.xml.cache new file mode 100644 index 0000000..a6b1cf5 --- /dev/null +++ b/known2/php7/showcases.xml.cache @@ -0,0 +1,9 @@ +!odMbo! +Sjad+y0IU9ZHwFyIW0YqZW4000000000WLCBNySsN0UFCOz2Hxl2EggF9RfoVeiV5hytIk4C6w4l +uP7zSr+rNJiiOqMogUeUezNNabUj9Mj8bkJ48ruxIao0E9iJH6vmSspjey7HIAgbDaZ42oUMZ4EI +SRrtktIJkbH14dvnSjcZ+VdILZrNv5MzsG88fGeGFP3TtTKngvb2CySJeoVhv22o9byZ3js3E07S +3ukguF/NTPJ8RPoLrYx7puzBVrfbbRifkhQDswA+p6+xC0AxI1i4500dNRkAZZYBEWPveynlQtvQ +worJseTgfmbRs6HpAvfw8L93l1/m2B+s9bjZ9MQtdFOe40TQFS8dTum8bKXf+P0ulCTB8G0QX/rx +X+Q3Z0MB9HcSWdUo4lkboapucUUhiGhRZE1CAv4iSAeI1yP2l3JXjQQMoEWM8pJ+BGrEM4DUlQMl +3Kec7SxUZ2aCWzwPLN0qElqKvHt3TdE8KZnSN+/kMSgNLcy2ZJOv3o4XrqpSEFIwzvtRbFZx9hGP +X9yUDFiRxe2Kat63sKmjl5Aju2IKlPWQgfjGkC4Kcn0= \ No newline at end of file