sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable
sudo invoke-rc.d apparmor restart
sudo replace log_slow_queries slow_query_log_file -- /etc/mysql/conf.d/mysqld_slow_log.cnf
sudo bash -c 'echo "slow_query_log = 1" >> /etc/mysql/conf.d/mysqld_slow_log.cnf'
sudo apt-get purge --assume-yes mysql-server mysql-server-5.5 mysql-server-core-5.5 mysql-client mysql-client-5.5 mysql-client-core-5.5
sudo apt-get autoremove --assume-yes
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository 'deb [arch=amd64,i386] http://mariadb.mirror.anstey.ca/repo/10.1/ubuntu trusty main'
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
<form x-data="initialData()" x-init="init()" x-on:trix-action-invoke="if ($event.actionName == 'x-horizontal-rule') insertHorizontalRule($event)"> | |
<input id="x" type="hidden" name="content"> | |
<trix-editor x-ref="trix" input="x"></trix-editor> | |
</form> |
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 defined('SYSPATH') or die('No direct script access.'); | |
class Controller_Panel_Category extends Auth_Crud { | |
/** | |
* @var $_index_fields ORM fields shown in index | |
*/ | |
protected $_index_fields = array('name','order','price', 'id_category', 'id_category_parent'); | |
/** |
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
.slider-overlay { | |
background: #256FB2; | |
} | |
.categories .categorie { | |
border: 1px solid #256FB2; | |
} | |
.categories .categorie:hover, | |
.categories .categorie:focus, | |
.categories .categorie.active { | |
border-color: #FF781D; |
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 defined('SYSPATH') or die('No direct script access.');?> | |
<section id="page-header"> | |
<div class="container no-gutter"> | |
<div class="row"> | |
<div class="col-sm-8"> | |
<h1 class="h1"><?=_e('Checkout')?></h1> | |
</div> | |
<?if (Theme::get('breadcrumb')==1):?> | |
<div class="col-sm-4 breadcrumbs"> |
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 defined('SYSPATH') or die('No direct script access.'); | |
class Controller_Panel_Myads extends Auth_Frontcontroller { | |
public function action_index() | |
{ | |
$cat = new Model_Category(); | |
$list_cat = $cat->find_all(); // get all to print at sidebar view |
NewerOlder